From 0ff00d27b2fd524c76fcfac1836b7aad8fe03069 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Mon, 9 May 2022 20:41:54 +0900 Subject: Change the suffix of a description file from -description.json to -report.json --- grammar/parsing_table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grammar/parsing_table.go') 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, -- cgit v1.2.3