summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/lexer.mll
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-18 16:02:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-18 16:02:09 +0000
commit1e9b027b5bb760a1b15d76a7b4574052853930e0 (patch)
treecd7b06bac95a507a11842d50d837392d23b8b108 /perl_checker.src/lexer.mll
parent00cbf7c47c0f642a9fe3d6b0189ed1ed642564e6 (diff)
downloadperl-MDK-Common-1e9b027b5bb760a1b15d76a7b4574052853930e0.tar
perl-MDK-Common-1e9b027b5bb760a1b15d76a7b4574052853930e0.tar.gz
perl-MDK-Common-1e9b027b5bb760a1b15d76a7b4574052853930e0.tar.bz2
perl-MDK-Common-1e9b027b5bb760a1b15d76a7b4574052853930e0.tar.xz
perl-MDK-Common-1e9b027b5bb760a1b15d76a7b4574052853930e0.zip
new features including checking methods being available and unused functions
Diffstat (limited to 'perl_checker.src/lexer.mll')
-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 c9ce890..430770f 100644
--- a/perl_checker.src/lexer.mll
+++ b/perl_checker.src/lexer.mll
@@ -451,7 +451,7 @@ rule token = parse
| "{" ident "}" { (* needed so that $h{if} works *)
not_ok_for_match := lexeme_end lexbuf;
- COMPACT_HASH_SUBSCRIPT(lexeme lexbuf, pos lexbuf)
+ COMPACT_HASH_SUBSCRIPT(skip_n_char_ 1 1 (lexeme lexbuf), pos lexbuf)
}
| '@' { AT(pos lexbuf) }