]> git.sur5r.net Git - cc65/blobdiff - src/cc65/pragma.c
remove TABs
[cc65] / src / cc65 / pragma.c
index 25bc29d43cdfbfaad8cb6425deaf900c5af46e04..b05ef6122bb4fce4efc24bd4f649999e395f16cc 100644 (file)
@@ -356,7 +356,7 @@ static int BoolKeyword (StrBuf* Ident)
     }
 
     /* Error */
-    Error ("Pragma argument must be one of `on', `off', `true' or `false'");
+    Error ("Pragma argument must be one of 'on', 'off', 'true' or 'false'");
     return 0;
 }
 
@@ -453,7 +453,7 @@ static void SegNamePragma (StrBuf* B, segment_t Seg)
     } else {
 
         /* Segment name is invalid */
-        Error ("Illegal segment name: `%s'", Name);
+        Error ("Illegal segment name: '%s'", Name);
 
     }
 
@@ -525,7 +525,7 @@ static void WrappedCallPragma (StrBuf* B)
     /* Check if the name is valid */
     if (Entry && Entry->Flags & SC_FUNC) {
 
-        PushWrappedCall(Entry, Val);
+        PushWrappedCall(Entry, (unsigned char) Val);
         Entry->Flags |= SC_REF;
         Entry->V.F.Func->Flags |= FD_CALL_WRAPPER;
 
@@ -788,7 +788,7 @@ static void ParsePragma (void)
         ** for unknown pragmas, but warn about them if enabled (the default).
         */
         if (IS_Get (&WarnUnknownPragma)) {
-            Warning ("Unknown pragma `%s'", SB_GetConstBuf (&Ident));
+            Warning ("Unknown pragma '%s'", SB_GetConstBuf (&Ident));
         }
         goto ExitPoint;
     }
@@ -898,9 +898,9 @@ static void ParsePragma (void)
             FlagPragma (&B, &StaticLocals);
             break;
 
-       case PRAGMA_WRAPPED_CALL:
-           WrappedCallPragma(&B);
-           break;
+        case PRAGMA_WRAPPED_CALL:
+            WrappedCallPragma(&B);
+            break;
 
         case PRAGMA_WARN:
             WarnPragma (&B);