aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2016-08-11 17:34:32 +0200
committerDrahflow <drahflow@gmx.de>2016-08-11 17:34:32 +0200
commit9d977e0ff62e06c68d222ff7ea054d3116c8ac98 (patch)
tree2764bcc0c4db20ee9396bc6f5a110689c5254d0f /elymas/lib
parent5f6672788f97286c162905fc2c56d5fc91897da2 (diff)
Slightly less allocs
Diffstat (limited to 'elymas/lib')
-rw-r--r--elymas/lib/parser.ey6
1 files changed, 3 insertions, 3 deletions
diff --git a/elymas/lib/parser.ey b/elymas/lib/parser.ey
index 1a600c9..8cccee1 100644
--- a/elymas/lib/parser.ey
+++ b/elymas/lib/parser.ey
@@ -169,7 +169,7 @@
# states len 0 gt { # DEBUG
# 1 states * theItemSets * dumpItemSet
# } rep
- } rep
+ }' rep
states 1 # lookahead not consumed, repeat loop
} id reduceActions =[]
} rep
@@ -281,7 +281,7 @@
[ [ ] 0 0 ] # (currently empty) stack of states
] ==states # all states of the GLR
- { ==lookahead ==value
+ < { ==lookahead ==value
# ">>>>>>>" dump
# states { ==state # DEBUG
# 1 state * theItemSets * dumpItemSet
@@ -321,7 +321,7 @@
}' { }" loop
waitingStates _ =states
- }
+ }' > --
} /run deffst
>