cast 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/ext/yylex.re CHANGED
@@ -132,10 +132,13 @@ void yylex(VALUE self, cast_Parser *p) {
132
132
  "while" { RET(cast_sym_WHILE); }
133
133
  "inline" { RET(cast_sym_INLINE); }
134
134
  "restrict" { RET(cast_sym_RESTRICT); }
135
+
135
136
  "_Bool" { RET(cast_sym_BOOL); }
136
137
  "_Complex" { RET(cast_sym_COMPLEX); }
137
138
  "_Imaginary" { RET(cast_sym_IMAGINARY); }
138
139
 
140
+ "__extension__" { RET(cast_sym_EXTENSION); } /* GCC extension */
141
+
139
142
  L (L|D)* {
140
143
  value = rb_str_new(p->tok, cursor - p->tok);
141
144
  if (rb_funcall2(rb_funcall2(self, rb_intern("type_names"), 0, NULL),