Remove the concept of fragile reductions
They were a vestige of when Tree-sitter did sentential form-based incremental parsing (as opposed to simply state matching). This was elegant but not compatible with GLR as far as I could tell.
This commit is contained in:
parent
07fa3eb386
commit
52087de4f0
7 changed files with 20 additions and 66 deletions
|
|
@ -635,10 +635,6 @@ class CCodeGenerator {
|
|||
add(", ");
|
||||
add(to_string(action.consumed_symbol_count));
|
||||
|
||||
if (action.fragile) {
|
||||
add(", .fragile = true");
|
||||
}
|
||||
|
||||
if (action.dynamic_precedence != 0) {
|
||||
add(", .dynamic_precedence = " + to_string(action.dynamic_precedence));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue