Always also produce ANSI-C, depending on __STDC__ and __cplusplus

This commit is contained in:
ceriel
1991-12-02 09:15:04 +00:00
parent 16515e7822
commit 8038e7050b
4 changed files with 59 additions and 35 deletions

View File

@@ -504,7 +504,7 @@ expr : '(' { copyact('(',')',1,0); }
')'
;
repeats(int *kind, *cnt;) { int t1 = 0; } :
repeats(int *kind; int *cnt;) { int t1 = 0; } :
[
'?' { *kind = OPT; }
| [ '*' { *kind = STAR; }