diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/global_checks.ml | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ - update Net::FTP fake package for installer - perl_checker: o recognize \B in regexps + o kill "undeclared variable $^S" Version 1.2.17 - 19 March 2012, by Thierry Vignaud diff --git a/src/global_checks.ml b/src/global_checks.ml index 800bb54..ceed828 100644 --- a/src/global_checks.ml +++ b/src/global_checks.ml @@ -165,7 +165,7 @@ let is_global_var context ident = match context with | I_scalar -> (match ident with - | "@" | "!" | ">" | "\\" | "$" | "^A" | "'" | "/" | "?" | "<" | "^W" | "|" | "^I" | "&" | "." + | "@" | "!" | ">" | "\\" | "$" | "^A" | "'" | "/" | "?" | "<" | "^S" | "^W" | "|" | "^I" | "&" | "." | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" -> true | _ -> false) | I_array -> |