Roll back TOKENPTR changes and most of the .u32 changes weren't needed.
[rmac] / error.c
diff --git a/error.c b/error.c
index c27911796f9dc9778102ccccb1c19b47db8ef0a3..75e91490d3d44df485fed4cd180befc545055443 100644 (file)
--- a/error.c
+++ b/error.c
@@ -24,11 +24,11 @@ static long unused;                         // For supressing 'write' warnings
 //
 int at_eol(void)
 {
-       if (*tok.u32 != EOL)
+       if (*tok != EOL)
        {
-               error("syntax error. expected EOL, found $%X ('%c')", *tok.u32, *tok.u32);
+               error("syntax error. expected EOL, found $%X ('%c')", *tok, *tok);
                printf("Token = ");
-               DumpToken(*tok.u32);
+               DumpToken(*tok);
                printf("\n");
                DumpTokenBuffer();
        }