summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 10:31:41 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 10:31:41 +0100
commitf1bd8330bf179791f6257c85b951860458f0826c (patch)
tree7fb53cfc070bcc7de088fd3ed6e35a3806543813
parent42e2ca35e1e76699c5cbe8b35ffe8964a67c40fc (diff)
downloadcoderay-f1bd8330bf179791f6257c85b951860458f0826c.tar.gz
use setup
-rw-r--r--lib/coderay/scanners/c2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/c2.rb b/lib/coderay/scanners/c2.rb
index d12f910..87964f9 100644
--- a/lib/coderay/scanners/c2.rb
+++ b/lib/coderay/scanners/c2.rb
@@ -89,7 +89,7 @@ module Scanners
scan_tokens_code = <<-"RUBY"
def scan_tokens encoder, options#{ def_line = __LINE__; nil }
- state = :initial
+ state = @state
label_expected = true
case_expected = false
label_expected_before_preproc_line = nil