fix comment and brace handling

This commit is contained in:
BVK Chaitanya 2010-04-30 13:50:41 +05:30
parent c76a18386f
commit 6fdda85ae6
3 changed files with 25 additions and 2 deletions

View file

@ -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:]_]*