]> git.sur5r.net Git - cc65/blobdiff - test/ref/charconst.c
Only for jumps, the lib uses named asm labels in branches
[cc65] / test / ref / charconst.c
index 1aa9f8e3f6bae26ed7e9d9ea0dd4cd30b030288e..1a2f5303de8717aef775d5ee37635982054bf8f8 100644 (file)
@@ -4,6 +4,7 @@
   !!LICENCE!!     Public Domain
 */
 
+#include "common.h"
 #include <limits.h>
 #include <ctype.h>
 
@@ -13,23 +14,23 @@ void backslash(unsigned char c)
 
     switch (c)
     {
-       case 'b':
-               c = '\b';
-       case 'f':
-               c = '\f';
-       case 'n':
-               c = '\n';
-       case 'r':
-               c = '\r';
-       case 't':
-               c = '\t';
-       case 'v':
+        case 'b':
+                c = '\b';
+        case 'f':
+                c = '\f';
+        case 'n':
+                c = '\n';
+        case 'r':
+                c = '\r';
+        case 't':
+                c = '\t';
+        case 'v':
     #ifndef NO_BACKSLASH_V
         c = '\v';
     #else
         c = 0x0b;
     #endif
-       }
+        }
 
     if(!isprint(c))
     {
@@ -53,7 +54,7 @@ void testbackslash(void)
 
 int main(void)
 {
-       testbackslash();
+        testbackslash();
 
-       return 0;
+        return 0;
 }