lib/rley/parser/parse_state_tracker.rb in rley-0.7.00 vs lib/rley/parser/parse_state_tracker.rb in rley-0.7.01
- old
+ new
@@ -24,9 +24,10 @@
end
# Write accessor. Set the given parse state as the current one.
def parse_state=(aParseState)
raise StandardError, 'Nil parse state' if aParseState.nil?
+
@parse_state = aParseState
processed_states[parse_state] = true
end
# Take the first provided state that wasn't processed yet.