aboutsummaryrefslogtreecommitdiff
path: root/grammar/parsing_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/parsing_table.go')
-rw-r--r--grammar/parsing_table.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar/parsing_table.go b/grammar/parsing_table.go
index 1e3930b..57badd5 100644
--- a/grammar/parsing_table.go
+++ b/grammar/parsing_table.go
@@ -312,7 +312,7 @@ func (b *lrTableBuilder) resolveSRConflict(sym symbolNum, prod productionNum) (A
return ActionTypeReduce, ResolvedByPrec
}
-func (b *lrTableBuilder) genDescription(tab *ParsingTable, gram *Grammar) (*spec.Description, error) {
+func (b *lrTableBuilder) genReport(tab *ParsingTable, gram *Grammar) (*spec.Report, error) {
var terms []*spec.Terminal
{
termSyms := b.symTab.terminalSymbols()
@@ -552,7 +552,7 @@ func (b *lrTableBuilder) genDescription(tab *ParsingTable, gram *Grammar) (*spec
}
}
- return &spec.Description{
+ return &spec.Report{
Class: string(b.class),
Terminals: terms,
NonTerminals: nonTerms,