summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/lexer.mll
diff options
context:
space:
mode:
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) }