aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.go
diff options
context:
space:
mode:
Diffstat (limited to 'spec/grammar.go')
-rw-r--r--spec/grammar.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/grammar.go b/spec/grammar.go
index 825fc2c..bf14d86 100644
--- a/spec/grammar.go
+++ b/spec/grammar.go
@@ -3,6 +3,7 @@ package spec
import mlspec "github.com/nihei9/maleeni/spec"
type CompiledGrammar struct {
+ Name string `json:"name"`
LexicalSpecification *LexicalSpecification `json:"lexical_specification"`
ParsingTable *ParsingTable `json:"parsing_table"`
ASTAction *ASTAction `json:"ast_action"`