summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gen-s-parser.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen-s-parser.inc b/src/gen-s-parser.inc
index 65a780b8b..2fd554107 100644
--- a/src/gen-s-parser.inc
+++ b/src/gen-s-parser.inc
@@ -2250,7 +2250,7 @@ switch (op[0]) {
default: goto parse_error;
}
parse_error:
- throw ParseException(std::string(op));
+ throw ParseException(std::string(op), s.line, s.col);
#endif // INSTRUCTION_PARSER
// clang-format on