From 8951e74ba7563589bf19102881ba8428ddaf55e0 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Fri, 27 May 2016 20:03:58 +0300 Subject: [PATCH] ld65: Be more verbose in token errors --- src/ld65/scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ld65/scanner.c b/src/ld65/scanner.c index 0f6ea58de..3c2346aac 100644 --- a/src/ld65/scanner.c +++ b/src/ld65/scanner.c @@ -505,7 +505,7 @@ void CfgSpecialToken (const IdentTok* Table, unsigned Size, const char* Name) } /* Not found or no identifier */ - CfgError (&CfgErrorPos, "%s expected", Name); + CfgError (&CfgErrorPos, "%s expected, got '%s'", Name, SB_GetConstBuf(&CfgSVal)); } -- 2.39.5