]> git.sur5r.net Git - cc65/blobdiff - src/cc65/ident.c
Fixed _textcolor definition.
[cc65] / src / cc65 / ident.c
index 615997ab9b6c95f5b5f1c648f18f76f40c595ac0..7748095c7ffe1f3423a4390f5265179c83caa95d 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                 ident.c                                  */
+/*                                  ident.c                                  */
 /*                                                                           */
-/*                Identifier handling for the cc65 compiler                 */
+/*                 Identifier handling for the cc65 compiler                 */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
 
 
 
-#include <ctype.h>
-
+/* common */
+#include "chartype.h"
+                     
+/* cc65 */
 #include "ident.h"
 
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -48,8 +50,5 @@
 int IsIdent (char c)
 /* Return true if the given char may start an identifier */
 {
-    return (isalpha (c) || c == '_');
+    return (IsAlpha (c) || c == '_');
 }
-
-
-