diff options
Diffstat (limited to 'tool/lrama/lib/lrama/state/shift_reduce_conflict.rb')
-rw-r--r-- | tool/lrama/lib/lrama/state/shift_reduce_conflict.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tool/lrama/lib/lrama/state/shift_reduce_conflict.rb b/tool/lrama/lib/lrama/state/shift_reduce_conflict.rb new file mode 100644 index 0000000000..fd66834539 --- /dev/null +++ b/tool/lrama/lib/lrama/state/shift_reduce_conflict.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Lrama + class State + class ShiftReduceConflict < Struct.new(:symbols, :shift, :reduce, keyword_init: true) + def type + :shift_reduce + end + end + end +end |