]> git.sur5r.net Git - cc65/blobdiff - src/cc65/pragma.c
Error handling cleanup/changes.
[cc65] / src / cc65 / pragma.c
index 27ed3a53d86c22730313517ba8b4b0863e4cfdd2..ebd429379b329b22d3675ba85161774859e4763e 100644 (file)
@@ -151,7 +151,7 @@ static void SegNamePragma (void (*Func) (const char*))
            Func (Name);
 
        } else {
-                          
+
            /* Segment name is invalid */
            Error (ERR_ILLEGAL_SEG_NAME, Name);
 
@@ -201,7 +201,7 @@ void DoPragma (void)
         * for unknown pragmas, however, we're allowed to warn - and we will
         * do so. Otherwise one typo may give you hours of bug hunting...
         */
-       Warning (WARN_UNKNOWN_PRAGMA);
+       Warning ("Unknown #pragma `%s'", CurTok.Ident);
        return;
     }