: $Id: yacc.key,v 1.9 2010/06/10 21:43:53 tom Exp $
: YACC Macros/keywords
yyclearin
yyerrok
yyerror
yylex
yyparse
:
%%
%binary
%ident
%left
%nonassoc
%right
%start
%term
%token
%type
%union
%{
%}
:
.class Extension
.default Extension
: Extensions (some are in more than one implementation, e.g., byacc and bison)
%expect
%expect-rr
%lex-param
%parse-param
%pure-parser
: other features added by bison
%code
%debug
%default-prec
%define
%defines
%destructor
%dprec
%error-verbose
%file-prefix
%glr-parser
%initial-action
%language
%locations
%merge
%name-prefix
%no-default-prec
%no-lines
%nondeterministic-parser
%nterm
%output
%prec
%printer
%raw
%require
%skeleton
%token-table
%token_table
%verbose
%yacc
:
.default
:
: The syntax filter assumes this setting (commented out) unless you have
: overridden it, e.g., in your ".vile.keywords" file:
:.class Terminal:Ident2
:
: use a "merge" here, to include C's keywords for various inline stuff.
.merge c
: The real "C" code will be done by switching to/from the "C" table, read here.
.source c
