diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-09-26 18:46:01 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-09-26 18:46:01 +0300 |
commit | d067b8b70ad503f003a56193ec7d4bebfd3c0276 (patch) | |
tree | 6a700651f2e20d031c5b24f5b69ca2a99e9ffc37 /src/compiler/types.lm | |
parent | 06c4761a3a2b129d221851391ced380e233c6ee1 (diff) |
remove type::name add endianess support
type::name is too agressive as it clashes with keywords
use reference::variable::type and reference::function::type instead
Diffstat (limited to 'src/compiler/types.lm')
-rw-r--r-- | src/compiler/types.lm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/compiler/types.lm b/src/compiler/types.lm index 6edc2ea..c4982ac 100644 --- a/src/compiler/types.lm +++ b/src/compiler/types.lm @@ -1,6 +1,8 @@ # Basic (mostly) langauge independent types # These are the foundation for understanding the source code +token WS / space / + context number context unsigned literal `true `false @@ -49,10 +51,3 @@ context string [`' raw:raw* `'] { i:int = 0 for s:raw in r2 i = i + 1 lhs.length = i } | [`" raw:raw* `"] { i:int = 0 for s:raw in r2 i = i + 1 lhs.length = i } end - -context name - token NAME / [a-zA-Z_][a-zA-Z_0-9]* / - - def type - [NAME] -end |