]> granicus.if.org Git - linux-pam/blob - doc/specs/parse_l.l
Relevant BUGIDs:
[linux-pam] / doc / specs / parse_l.l
1 %{
2 #ifdef HAVE_CONFIG_H
3 #  include <config.h>
4 #endif
5
6 #include <stdio.h>
7
8 #include "parse_y.h"
9 %}
10
11 %%
12
13 \#[\$]+[a-zA-Z]*(\=[0-9]+)?          return NEW_COUNTER;
14 \#\{[a-zA-Z][a-zA-Z0-9\_]*\}         return LABEL;
15 \#                                   return NO_INDENT;
16 \#\#                                 return RIGHT;
17 \\\#                                 return HASH;
18 [^\n]                                return CHAR;
19 [\n]                                 return NEWLINE;
20
21 %%