1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

[Sass] [SCSS] Fix a bug with SassScript on the first line.

This commit is contained in:
Nathan Weizenbaum 2009-12-27 01:41:23 -08:00
parent 7f22d96afd
commit 9fc8ce3a26

View file

@ -416,7 +416,7 @@ module Sass
def sass_script_parser
ScriptParser.new(@scanner, @line,
@scanner.pos - @scanner.string.rindex("\n"))
@scanner.pos - (@scanner.string.rindex("\n") || 0))
end
EXPR_NAMES = {