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; } }