summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-10 17:55:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-10 17:55:05 +0000
commit85ad03dc0777dd8450d349b30e2347da6e317f86 (patch)
tree7999359c1d43531756ff229a54ff46d773c6d67a
parent77aaee3575adb8923b4af56b40385b5958ea84a5 (diff)
downloadperl_checker-85ad03dc0777dd8450d349b30e2347da6e317f86.tar
perl_checker-85ad03dc0777dd8450d349b30e2347da6e317f86.tar.gz
perl_checker-85ad03dc0777dd8450d349b30e2347da6e317f86.tar.bz2
perl_checker-85ad03dc0777dd8450d349b30e2347da6e317f86.tar.xz
perl_checker-85ad03dc0777dd8450d349b30e2347da6e317f86.zip
0.2 is a NUM, not a REVISION (otherwise it gets into a Raw_string)
-rw-r--r--perl_checker.src/lexer.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll
index 502acda..9f230a4 100644
--- a/perl_checker.src/lexer.mll
+++ b/perl_checker.src/lexer.mll
@@ -600,7 +600,7 @@ rule token = parse
| '-' [ 'a'-'z' 'A'-'Z' ] [ ' ' '(' ';' ] { putback lexbuf 1; ONE_SCALAR_PARA(lexeme lexbuf, pos lexbuf) }
-| ['0'-'9'] ['0'-'9' '_']* ('.' ['0'-'9'] ['0'-'9' '_']*)+
+| ['0'-'9'] ['0'-'9' '_']* '.' ['0'-'9'] ['0'-'9' '_']* ('.' ['0'-'9'] ['0'-'9' '_']*)+
| 'v' ['0'-'9'] ['0'-'9' '_']* ('.' ['0'-'9'] ['0'-'9' '_']*)*
{
not_ok_for_match := lexeme_end lexbuf;