[test] Add location string to error messages.

This commit is contained in:
Alexander Arlt
2022-04-01 23:41:18 -05:00
parent c4909e99c1
commit d4c02f2270
4 changed files with 46 additions and 5 deletions
+1
View File
@@ -65,6 +65,7 @@ void SyntaxTest::parseAndAnalyze()
error->errorId(),
errorMessage(*error),
name,
locationString(name, locationStart, locationEnd),
locationStart,
locationEnd
});