summaryrefslogtreecommitdiff
path: root/doc/specs/parse.lex
blob: 1d5c898e0549ff67e72fc7aff9e24540a19abeab (plain)
1
2
3
4
5
6
7
8
9
10
11
%%

\#[\$]+[a-zA-Z]*(\=[0-9]+)?          return NEW_COUNTER;
\#\{[a-zA-Z][a-zA-Z0-9\_]*\}         return LABEL;
\#                                   return NO_INDENT;
\#\#                                 return RIGHT;
\\\#                                 return HASH;
[^\n]                                return CHAR;
[\n]                                 return NEWLINE;

%%