summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-14 19:22:42 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-14 19:22:42 +0100
commit14339bfc8f58ac883bb5f202411804f03966f462 (patch)
treee4ce46fb257d60eed0fea6b18ffde1113b67b1ba
parent9526bd86b6420e868bee1da167e40afc11ed1c0b (diff)
downloadcoderay-14339bfc8f58ac883bb5f202411804f03966f462.tar.gz
some more variables that are set by the scanner
-rw-r--r--lib/coderay/rule_based_scanner.rb2
1 files changed, 1 insertions, 1 deletions
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