diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-05 13:12:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-05 13:12:04 +0000 |
commit | 24b0e8d64df95dd066d33b622c07f469e47c102a (patch) | |
tree | 2415cfeac7e6532108ba88a4db01652abe550f18 /perl_checker.src/lexer.mll | |
parent | 2a83a79c244e034ebbb76fc8fe875517377790d0 (diff) | |
download | perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar.gz perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar.bz2 perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar.xz perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.zip |
allow -x with no parameter, but advise not to use it
Diffstat (limited to 'perl_checker.src/lexer.mll')
-rw-r--r-- | perl_checker.src/lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll index 424a422..e5d8af5 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -586,7 +586,7 @@ rule token = parse | ident ":" { LABEL(lexeme lexbuf, pos lexbuf) } -| '-' [ 'a'-'z' 'A'-'Z' ] [ ' ' '(' ] { putback lexbuf 1; ONE_SCALAR_PARA(lexeme lexbuf, pos lexbuf) } +| '-' [ 'a'-'z' 'A'-'Z' ] [ ' ' '(' ';' ] { putback lexbuf 1; ONE_SCALAR_PARA(lexeme lexbuf, pos lexbuf) } | ['0'-'9'] ['0'-'9' '_']* ('.' ['0'-'9'] ['0'-'9' '_']*)+ | 'v' ['0'-'9'] ['0'-'9' '_']* ('.' ['0'-'9'] ['0'-'9' '_']*)* |