diff options
Diffstat (limited to 'source/compiler/prparser.y')
-rw-r--r-- | source/compiler/prparser.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/compiler/prparser.y b/source/compiler/prparser.y index 67587331a119d..5ed30f53bc15a 100644 --- a/source/compiler/prparser.y +++ b/source/compiler/prparser.y @@ -213,8 +213,11 @@ void PrParsererror ( char const *Message) { + + sprintf (StringBuffer, "Preprocessor Parser : %s (near line %u)", + Message, Gbl_CurrentLineNumber); DtError (ASL_ERROR, ASL_MSG_SYNTAX, - NULL, (char *) Message); + NULL, (char *) StringBuffer); } |