summaryrefslogtreecommitdiff
path: root/src/compiler/types.lm
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/types.lm')
-rw-r--r--src/compiler/types.lm9
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