From ec0e2be607632becb6c772aa5bcefca762762bb2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 22 Sep 2020 08:49:03 +0200 Subject: [PATCH] - better error message --- source/build/src/defs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/defs.cpp b/source/build/src/defs.cpp index 3d79dd4f1..a85694988 100644 --- a/source/build/src/defs.cpp +++ b/source/build/src/defs.cpp @@ -3196,7 +3196,7 @@ static int32_t defsparser(scriptfile *script) default: - pos.Message(MSG_ERROR, "Unknown token."); break; + pos.Message(MSG_ERROR, "%s: Unknown token.", script->String); break; } }