diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1995-03-05 20:37:32 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1995-03-05 20:37:32 +0000 |
commit | aeb239128895735e59f94d37690f67341ebcde27 (patch) | |
tree | 65991e491bb25a82d927cf3fc78c56fae656baaa /parse.y | |
parent | 6534e3e967a4478c79b3622140a55b0d1c27b1b8 (diff) | |
download | flex-git-aeb239128895735e59f94d37690f67341ebcde27.tar.gz |
added %option yyclass
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* parse.y - parser for flex input */ %token CHAR NUMBER SECTEND SCDECL XSCDECL NAME PREVCCL EOF_OP -%token OPTION_OP OPT_OUTFILE OPT_PREFIX +%token OPTION_OP OPT_OUTFILE OPT_PREFIX OPT_YYCLASS %token CCE_ALNUM CCE_ALPHA CCE_BLANK CCE_CNTRL CCE_DIGIT CCE_GRAPH %token CCE_LOWER CCE_PRINT CCE_PUNCT CCE_SPACE CCE_UPPER CCE_XDIGIT @@ -185,6 +185,8 @@ option : OPT_OUTFILE '=' NAME } | OPT_PREFIX '=' NAME { prefix = copy_string( nmstr ); } + | OPT_YYCLASS '=' NAME + { yyclass = copy_string( nmstr ); } ; sect2 : sect2 scon initforrule flexrule '\n' |