]> git.sur5r.net Git - cc65/blobdiff - asminc/ctype.inc
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / asminc / ctype.inc
index e8a41dabcfb330d4173808af7fd83a5cbde17109..d6b0ccf46eca68e1beb2ee5a6b7f52656601e0d1 100644 (file)
@@ -6,23 +6,24 @@
 
 ; Make the __ctype table an exported/imported symbol
 
-        .global           __ctype
+        .global    __ctype
 
 ; Define bitmapped constants for the table entries
 
-CT_LOWER       = $01           ; 0 - Lower case char
-CT_UPPER       = $02           ; 1 - Upper case char
-CT_DIGIT       = $04           ; 2 - Numeric digit
-CT_XDIGIT      = $08           ; 3 - Hex digit (both, lower and upper)
-CT_CTRL                = $10           ; 4 - Control character
-CT_SPACE       = $20           ; 5 - The space character itself
-CT_OTHER_WS    = $40           ; 6 - Other whitespace ('\f', '\n', '\r', '\t' and '\v')
-CT_SPACE_TAB   = $80           ; 7 - Space or tab character
+CT_NONE         = $00           ; Nothing special
+CT_LOWER        = $01           ; 0 - Lower case char
+CT_UPPER        = $02           ; 1 - Upper case char
+CT_DIGIT        = $04           ; 2 - Numeric digit
+CT_XDIGIT       = $08           ; 3 - Hex digit (both, lower and upper)
+CT_CTRL         = $10           ; 4 - Control character
+CT_SPACE        = $20           ; 5 - The space character itself
+CT_OTHER_WS     = $40           ; 6 - Other whitespace ('\f', '\n', '\r', '\t' and '\v')
+CT_SPACE_TAB    = $80           ; 7 - Space or tab character
 
 ; Combined stuff
-CT_ALNUM       = (CT_LOWER | CT_UPPER | CT_DIGIT)
-CT_ALPHA       = (CT_LOWER | CT_UPPER)
-CT_CTRL_SPACE  = (CT_CTRL | CT_SPACE)
-CT_NOT_PUNCT   = (CT_SPACE | CT_CTRL | CT_DIGIT | CT_UPPER | CT_LOWER)
+CT_ALNUM        = (CT_LOWER | CT_UPPER | CT_DIGIT)
+CT_ALPHA        = (CT_LOWER | CT_UPPER)
+CT_CTRL_SPACE   = (CT_CTRL | CT_SPACE)
+CT_NOT_PUNCT    = (CT_SPACE | CT_CTRL | CT_DIGIT | CT_UPPER | CT_LOWER)