fix comment and brace handling
This commit is contained in:
parent
c76a18386f
commit
6fdda85ae6
3 changed files with 25 additions and 2 deletions
|
@ -112,9 +112,9 @@ typedef size_t yy_size_t;
|
|||
%option extra-type="struct grub_parser_param*"
|
||||
|
||||
BLANK [ \t]
|
||||
COMMENT ^[ \t]*#.*$
|
||||
COMMENT #.*$
|
||||
|
||||
CHAR [^|&$;<> \t\n\'\"\\]
|
||||
CHAR [^{}|&$;<> \t\n\'\"\\]
|
||||
DIGITS [[:digit:]]+
|
||||
NAME [[:alpha:]_][[:alnum:][:digit:]_]*
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue