]> git.sur5r.net Git - cc65/blobdiff - src/ld65/scanner.c
New module strstack
[cc65] / src / ld65 / scanner.c
index 7f4b7085d4fb3915c295b039257b8b5751784769..82a04010757c7287dd27884c9c8d0d01aeb984bc 100644 (file)
@@ -40,6 +40,7 @@
 #include <ctype.h>
 
 /* common */
+#include "chartype.h"
 #include "xsprintf.h"
 
 /* ld65 */
@@ -177,11 +178,11 @@ Again:
     CfgErrorCol  = InputCol;
 
     /* Identifier? */
-    if (C == '_' || isalpha (C)) {
+    if (C == '_' || IsAlpha (C)) {
 
        /* Read the identifier */
        I = 0;
-       while (C == '_' || isalnum (C)) {
+       while (C == '_' || IsAlNum (C)) {
            if (I < CFG_MAX_IDENT_LEN) {
                CfgSVal [I++] = C;
            }
@@ -520,7 +521,7 @@ void CfgOpenInput (void)
 
     /* Initialize variables */
     C         = ' ';
-    InputLine = 1;             
+    InputLine = 1;
     InputCol  = 0;
 
     /* Start the ball rolling ... */