summaryrefslogtreecommitdiff
path: root/src/compiler/expr.lm
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-09-27 17:25:47 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-09-27 17:25:47 +0300
commit938399ba5870dde9f78e8edf7586986ad4de9736 (patch)
tree3e969b2eb58580bfa5a576b798b41654f54f41f8 /src/compiler/expr.lm
parent48ef6aa409c119130b1aa50fa6588db725d6e746 (diff)
compiler: make endianess a filter
endianess is just a bunch of bitflips anyways syntax for this is harmful as sometimes the files describe endianess itself thus filter is more flexible. Also, make it possible to filter non variable declarations as well.
Diffstat (limited to 'src/compiler/expr.lm')
-rw-r--r--src/compiler/expr.lm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/expr.lm b/src/compiler/expr.lm
index 1ecdc44..c5548cc 100644
--- a/src/compiler/expr.lm
+++ b/src/compiler/expr.lm
@@ -75,7 +75,7 @@ context reference
lex
# reserved
literal `struct `enum `select
- literal `nul `dec `hex `str `be `le
+ literal `nul `dec `hex `str
literal `until `sizeof
token PRIMITIVE / [us][1-9][0-9]* /
literal `( `) `,