diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-13 14:40:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-13 14:40:34 +0000 |
commit | 3cfc42b677f1599e57e63ae189f5d39d1e5d8f5e (patch) | |
tree | 7c0a3b3e452d6c478a3c88ba3de22bca4a10ed6b /perl_checker.src/lexer.mll | |
parent | 866fd5e1ef879c4d657c0979e0c29e71cec49c5e (diff) | |
download | perl-MDK-Common-3cfc42b677f1599e57e63ae189f5d39d1e5d8f5e.tar perl-MDK-Common-3cfc42b677f1599e57e63ae189f5d39d1e5d8f5e.tar.gz perl-MDK-Common-3cfc42b677f1599e57e63ae189f5d39d1e5d8f5e.tar.bz2 perl-MDK-Common-3cfc42b677f1599e57e63ae189f5d39d1e5d8f5e.tar.xz perl-MDK-Common-3cfc42b677f1599e57e63ae189f5d39d1e5d8f5e.zip |
*** empty log message ***
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 8450aa9..d25e63c 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -490,7 +490,7 @@ rule token = parse | "\\" ' '* '(' { putback lexbuf 1; REF(pos lexbuf) } -| "sub" ' '+ ident ' '* '(' [ '$' '@' '\\' '&' ';' ]* ')' { +| "sub" ' '+ ident ' '* '(' [ '$' '@' '\\' '&' ';' '%' ]* ')' { (* bloody prototypes, must be caught especially otherwise "($)" is badly tokenized *) (* and alas "($@)" is both valid as an expression and a prototype *) let s = lexeme lexbuf in |