mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
New: record the source filename in SyntaxError.
This commit is contained in:
1 parent
60f79bdf63
commit
7ec660c509
1 file changed
+1
@@ -215,6 +215,7 @@ if (!exports.acorn) {
|
||||
syntaxError.column = pos.column;
|
||||
syntaxError.lineStart = pos.lineStart;
|
||||
syntaxError.lineEnd = pos.lineEnd;
|
||||
syntaxError.fileName = sourceFile;
|
||||
|
||||
throw syntaxError;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user