From 14339bfc8f58ac883bb5f202411804f03966f462 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 14 Feb 2016 19:22:42 +0100 Subject: some more variables that are set by the scanner --- lib/coderay/rule_based_scanner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay') diff --git a/lib/coderay/rule_based_scanner.rb b/lib/coderay/rule_based_scanner.rb index a22bcc3..3022ec9 100644 --- a/lib/coderay/rule_based_scanner.rb +++ b/lib/coderay/rule_based_scanner.rb @@ -295,7 +295,7 @@ module CodeRay end def additional_variables - variables - %i(state match kind) + variables - %i(encoder options state states match kind) end def make_callback block -- cgit v1.2.1