mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
only \n and ' ' are valid whitespace characters
This commit is contained in:
parent
c7f4cadbc7
commit
cda10f0577
2 changed files with 5 additions and 5 deletions
|
|
@ -41,9 +41,13 @@ readable, safe, optimal, and concise code to solve any computing problem.
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
* Debug/Release mode.
|
* Debug/Release mode.
|
||||||
|
* don't hardcode the link against libc
|
||||||
* C style comments.
|
* C style comments.
|
||||||
* Unit tests.
|
* Unit tests.
|
||||||
* Simple .so library
|
* 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.
|
* How should the Widget use case be solved? In Genesis I'm using C++ and inheritance.
|
||||||
|
|
||||||
### Primitive Numeric Types:
|
### Primitive Numeric Types:
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,7 @@
|
||||||
|
|
||||||
#define WHITESPACE \
|
#define WHITESPACE \
|
||||||
' ': \
|
' ': \
|
||||||
case '\t': \
|
case '\n'
|
||||||
case '\n': \
|
|
||||||
case '\f': \
|
|
||||||
case '\r': \
|
|
||||||
case 0xb
|
|
||||||
|
|
||||||
#define DIGIT \
|
#define DIGIT \
|
||||||
'0': \
|
'0': \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue