Update of /cvsroot/cpptool/rfta/resources
In directory sc8-pr-cvs1:/tmp/cvs-serv13483
Added Files:
g++-distilled-cppparserdef.txt
Log Message:
* added g++ distilled c++ grammar definition
--- NEW FILE: g++-distilled-cppparserdef.txt ---
program:
/* empty */
| extdefs
;
extdefs:
lang_extdef
| extdefs lang_extdef
;
extdefs_opt:
extdefs
| /* empty */
;
.hush_warning:
;
.warning_ok:
;
[...1936 lines suppressed...]
| operator POINTSAT unoperator %prec EMPTY
| operator POINTSAT_STAR unoperator %prec EMPTY
| operator LEFT_RIGHT unoperator
| operator '[' ']' unoperator
| operator NEW unoperator %prec EMPTY
| operator DELETE unoperator %prec EMPTY
| operator NEW '[' ']' unoperator
| operator DELETE '[' ']' unoperator
| operator type_specifier_seq conversion_declarator unoperator
| operator error unoperator
;
/* The forced readahead in here is because we might be at the end of a
line, and lineno won't be bumped until yylex absorbs the first token
on the next line. */
save_lineno:
{ if (yychar == YYEMPTY)
yychar = YYLEX;
$$ = lineno; }
;
|