提交 edf993f4 编写于 作者: S Sandeep Somavarapu

Fix sass parser

上级 338f9523
...@@ -525,9 +525,12 @@ export class SassParser extends cssParser.Parser { ...@@ -525,9 +525,12 @@ export class SassParser extends cssParser.Parser {
node.setIdentifier(argument); node.setIdentifier(argument);
} }
} }
if (node.setValue(this._parseExpr(true))) {
let functionArgumentNode= <nodes.FunctionArgument>super._parseFunctionArgument();
if (functionArgumentNode && node.setValue(functionArgumentNode.getValue())) {
return this.finish(node); return this.finish(node);
} }
return null; return null;
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册