Skip to content
This repository was archived by the owner on Feb 6, 2018. It is now read-only.

Commit def7e09

Browse files
committed
fix rubychan#139: don't scan for :include after eos
1 parent 990ed25 commit def7e09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/coderay/scanners/sass.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ def scan_tokens encoder, options
209209

210210
end
211211

212+
states.pop if states.last == :include
213+
212214
if options[:keep_state]
213215
@state = states.dup
214216
end

0 commit comments

Comments
 (0)