summaryrefslogtreecommitdiff
path: root/lib/coderay/rule_based_scanner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/rule_based_scanner.rb')
-rw-r--r--lib/coderay/rule_based_scanner.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/coderay/rule_based_scanner.rb b/lib/coderay/rule_based_scanner.rb
index 24e278d..35adad1 100644
--- a/lib/coderay/rule_based_scanner.rb
+++ b/lib/coderay/rule_based_scanner.rb
@@ -289,6 +289,11 @@ module CodeRay
end
end
end
+
+ def setup
+ @state = :initial
+ end
+
end
end
end \ No newline at end of file