only \n and ' ' are valid whitespace characters

This commit is contained in:
Andrew Kelley 2015-11-24 20:37:53 -07:00
parent c7f4cadbc7
commit cda10f0577
2 changed files with 5 additions and 5 deletions

View File

@ -41,9 +41,13 @@ readable, safe, optimal, and concise code to solve any computing problem.
## Roadmap
* Debug/Release mode.
* don't hardcode the link against libc
* C style comments.
* Unit tests.
* Simple .so library
* Multiple files
* figure out integers
* implement a simple game using SDL2
* How should the Widget use case be solved? In Genesis I'm using C++ and inheritance.
### Primitive Numeric Types:

View File

@ -14,11 +14,7 @@
#define WHITESPACE \
' ': \
case '\t': \
case '\n': \
case '\f': \
case '\r': \
case 0xb
case '\n'
#define DIGIT \
'0': \