[hackers] [scc] Fix error message in label() || Roberto E. Vargas Caballero
commit 5dc64fc95bcea6e930d1caf8707aedd356af818b
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Aug 27 16:09:32 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Aug 27 16:09:32 2015 +0200
Fix error message in label()
diff --git a/cc1/stmt.c b/cc1/stmt.c
index b4de938..e72dbde 100644
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
_AT_@ -22,7 +22,7 @@ label(void)
case TYPEIDEN:
sym = lookup(NS_LABEL, yytext);
if (sym->flags & ISDEFINED)
- error("label '%s' already defined", yytoken);
+ error("label '%s' already defined", yytext);
if ((sym->flags & ISDECLARED) == 0)
sym = install(NS_LABEL, sym);
sym->flags |= ISDEFINED;
Received on Thu Aug 27 2015 - 16:16:37 CEST
This archive was generated by hypermail 2.3.0
: Thu Aug 27 2015 - 16:24:21 CEST