diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-10 17:55:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-10 17:55:05 +0000 |
commit | f86d36d5bd458a8fd70e1a2dd0c2cea49cc162f4 (patch) | |
tree | 3cc1e956b4c08b128747ded652e2aa580d878698 | |
parent | 3a007784e1eca2d0ec00f898cc9a6594cb76fbdd (diff) | |
download | perl-MDK-Common-f86d36d5bd458a8fd70e1a2dd0c2cea49cc162f4.tar perl-MDK-Common-f86d36d5bd458a8fd70e1a2dd0c2cea49cc162f4.tar.gz perl-MDK-Common-f86d36d5bd458a8fd70e1a2dd0c2cea49cc162f4.tar.bz2 perl-MDK-Common-f86d36d5bd458a8fd70e1a2dd0c2cea49cc162f4.tar.xz perl-MDK-Common-f86d36d5bd458a8fd70e1a2dd0c2cea49cc162f4.zip |
0.2 is a NUM, not a REVISION (otherwise it gets into a Raw_string)
-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 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; |