authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2015-11-24 20:37:53-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2015-11-24 20:37:53-07:00
logcda10f0577fcf5794f1f583ff159311a1b186082
treee36ab8b9df6e0b3ea3b4c578a67deea1d45e8e92
parentc7f4cadbc77a6b85fb568e9ae8dcf210009f6f03

only \n and ' ' are valid whitespace characters


2 files changed, 5 insertions(+), 5 deletions(-)

README.md+4
...@@ -41,9 +41,13 @@ readable, safe, optimal, and concise code to solve any computing problem....@@ -41,9 +41,13 @@ readable, safe, optimal, and concise code to solve any computing problem.
41## Roadmap41## Roadmap
4242
43 * Debug/Release mode.43 * Debug/Release mode.
44 * don't hardcode the link against libc
44 * C style comments.45 * C style comments.
45 * Unit tests.46 * Unit tests.
46 * Simple .so library47 * Simple .so library
48 * Multiple files
49 * figure out integers
50 * implement a simple game using SDL2
47 * How should the Widget use case be solved? In Genesis I'm using C++ and inheritance.51 * How should the Widget use case be solved? In Genesis I'm using C++ and inheritance.
4852
49### Primitive Numeric Types:53### Primitive Numeric Types:
src/tokenizer.cpp+1-5
...@@ -14,11 +14,7 @@...@@ -14,11 +14,7 @@
1414
15#define WHITESPACE \15#define WHITESPACE \
16 ' ': \16 ' ': \
17 case '\t': \17 case '\n'
18 case '\n': \
19 case '\f': \
20 case '\r': \
21 case 0xb
2218
23#define DIGIT \19#define DIGIT \
24 '0': \20 '0': \