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.mll5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll
index 9f230a4..aef34a8 100644
--- a/perl_checker.src/lexer.mll
+++ b/perl_checker.src/lexer.mll
@@ -431,7 +431,10 @@ rule token = parse
| "printf" { PRINT(lexeme lexbuf, pos lexbuf) }
| "new" { NEW(pos lexbuf) }
| "format" { let _ = raw_here_doc_next_line "." in FORMAT(pos lexbuf) }
-| "defined" { ONE_SCALAR_PARA(lexeme lexbuf, pos lexbuf) }
+| "defined"
+| "length"
+| "exists"
+| "ref" { ONE_SCALAR_PARA(lexeme lexbuf, pos lexbuf) }
| "split"
| "grep" { (* ok_for_match! *) BAREWORD(lexeme lexbuf, pos lexbuf) }