Warn on shift/reduce conflicts
This commit is contained in:
1 parent
69cc8fa67d
commit
4ae5ab79b3
4 files changed
+33
-4
No files matched your search
+1
-1
@@ -669,7 +669,7 @@ typedef struct
|
||||
/** Parser shift table. */
|
||||
static const shift_t parser_shift_table[] = {
|
||||
<% @parser.shift_table.each do |shift| %>
|
||||
{<%= shift[:symbol_id] %>u, <%= shift[:state_id] %>u},
|
||||
{<%= shift[:symbol].id %>u, <%= shift[:state_id] %>u},
|
||||
<% end %>
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -817,7 +817,7 @@ private struct state_value_t
|
||||
/** Parser shift table. */
|
||||
private immutable shift_t[] parser_shift_table = [
|
||||
<% @parser.shift_table.each do |shift| %>
|
||||
shift_t(<%= shift[:symbol_id] %>u, <%= shift[:state_id] %>u),
|
||||
shift_t(<%= shift[:symbol].id %>u, <%= shift[:state_id] %>u),
|
||||
<% end %>
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user