From 9d977e0ff62e06c68d222ff7ea054d3116c8ac98 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Thu, 11 Aug 2016 17:34:32 +0200 Subject: Slightly less allocs --- elymas/lib/parser.ey | 6 +++--- 1 file 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 > -- cgit v1.2.3