projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/scheme: Add support for hex, octal and binary constants
[fw/altos]
/
src
/
scheme
/
ao_scheme_read.h
diff --git
a/src/scheme/ao_scheme_read.h
b/src/scheme/ao_scheme_read.h
index 1aa11a3a025b284e1e79b349fda34bdb2872cbca..d0b9b36a466f7636066177d60a2765de30d1e1a2 100644
(file)
--- a/
src/scheme/ao_scheme_read.h
+++ b/
src/scheme/ao_scheme_read.h
@@
-65,10
+65,11
@@
# define IGNORE 0x0200 /* \0 - ' ' */
# define BACKSLASH 0x0400 /* \ */
# define STRINGC 0x0800 /* " */
# define IGNORE 0x0200 /* \0 - ' ' */
# define BACKSLASH 0x0400 /* \ */
# define STRINGC 0x0800 /* " */
-# define
POUND 0x1000 /* #
*/
+# define
HEX_LETTER 0x1000 /* a-f A-F
*/
# define NOTNAME (STRINGC|COMMENT|ENDOFFILE|WHITE|SPECIAL)
# define INTEGER (DIGIT|SIGN)
# define NUMBER (INTEGER|FLOATC)
# define NOTNAME (STRINGC|COMMENT|ENDOFFILE|WHITE|SPECIAL)
# define INTEGER (DIGIT|SIGN)
# define NUMBER (INTEGER|FLOATC)
+# define HEX_DIGIT (DIGIT|HEX_LETTER)
#endif /* _AO_SCHEME_READ_H_ */
#endif /* _AO_SCHEME_READ_H_ */