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:
parent
7f22d96afd
commit
9fc8ce3a26
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue