summaryrefslogtreecommitdiff
path: root/support/splint/examples/expression/expression.sty
blob: 9f9195aafb9a3f596c0badde4bf1b63ae87d6400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\def\optimization{5}

\input yycommon.sty % general routines for stack and array access
\input yymisc.sty   % helper macros (stack manipulation, table processing, value stack pointers)
\input yyinput.sty  % input functions
\input yyparse.sty  % parser machinery
\input flex.sty     % lexer functions
\input yyfaststack.sty % sped up stack access functions
\input yyboth.sty   % parser initializatio, optimization

\let\yylexreturn\yylexreturnregular
\let\setflexstates\relax
\let\parsernamespace\empty

\genericparser 
    name: main, 
    ptables: ptab.tex, 
    ltables: ltab.tex, 
    tokens: {}, 
    asetup: {}, 
    dsetup: {}, 
    rsetup: {},
    optimization: \optimizeall;%

\tomainparser