mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 14:41:28 +00:00
New: record the source filename in SyntaxError.
This commit is contained in:
@@ -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