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
commit2375b0413acc1f3e6659fc110c13bcc061cd320d (patch)
tree4661b764b6caa774672a30e7b7baf762293ae0b6 /perl_checker.src/lexer.mll
parentb852ba8ae186c776d03a44e4a63179a633aaeb52 (diff)
downloadperl_checker-2375b0413acc1f3e6659fc110c13bcc061cd320d.tar
perl_checker-2375b0413acc1f3e6659fc110c13bcc061cd320d.tar.gz
perl_checker-2375b0413acc1f3e6659fc110c13bcc061cd320d.tar.bz2
perl_checker-2375b0413acc1f3e6659fc110c13bcc061cd320d.tar.xz
perl_checker-2375b0413acc1f3e6659fc110c13bcc061cd320d.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) }