File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ type_specifier(zend_ffi_dcl *dcl):
221
221
| { if (dcl-> flags & ZEND_FFI_DCL_TYPE_SPECIFIERS) yy_error_sym(" unexpected" , sym);}
222
222
" _Bool"
223
223
{ dcl-> flags |= ZEND_FFI_DCL_BOOL;}
224
- | { if (dcl-> flags & (ZEND_FFI_DCL_TYPE_SPECIFIERS- (ZEND_FFI_DCL_FLOAT|ZEND_FFI_DCL_DOUBLE|ZEND_FFI_DCL_LONG))) yy_error_sym(" Unexpected ' %s ' " , sym);}
224
+ | { if (dcl-> flags & (ZEND_FFI_DCL_TYPE_SPECIFIERS- (ZEND_FFI_DCL_FLOAT|ZEND_FFI_DCL_DOUBLE|ZEND_FFI_DCL_LONG))) yy_error_sym(" unexpected " , sym);}
225
225
(" _Complex" |" complex" |" __complex" |" __complex__" )
226
226
{ dcl-> flags |= ZEND_FFI_DCL_COMPLEX;}
227
227
// | " _Atomic" " (" type_name " )" // TODO: not- implemented ???
Original file line number Diff line number Diff line change @@ -2277,7 +2277,7 @@ static int parse_type_specifier(int sym, zend_ffi_dcl *dcl) {
2277
2277
case YY_COMPLEX :
2278
2278
case YY___COMPLEX :
2279
2279
case YY___COMPLEX__ :
2280
- if (dcl -> flags & (ZEND_FFI_DCL_TYPE_SPECIFIERS - (ZEND_FFI_DCL_FLOAT |ZEND_FFI_DCL_DOUBLE |ZEND_FFI_DCL_LONG ))) yy_error_sym ("Unexpected '%s' " , sym );
2280
+ if (dcl -> flags & (ZEND_FFI_DCL_TYPE_SPECIFIERS - (ZEND_FFI_DCL_FLOAT |ZEND_FFI_DCL_DOUBLE |ZEND_FFI_DCL_LONG ))) yy_error_sym ("unexpected " , sym );
2281
2281
sym = get_sym ();
2282
2282
dcl -> flags |= ZEND_FFI_DCL_COMPLEX ;
2283
2283
break ;
You can’t perform that action at this time.
0 commit comments