aboutsummaryrefslogtreecommitdiff
path: root/spec/spec.go
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec.go')
-rw-r--r--spec/spec.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/spec.go b/spec/spec.go
index e3c318e..61955ac 100644
--- a/spec/spec.go
+++ b/spec/spec.go
@@ -88,11 +88,12 @@ func (n LexModeNum) IsNil() bool {
}
type LexEntry struct {
- Kind LexKind `json:"kind"`
- Pattern LexPattern `json:"pattern"`
- Modes []LexModeName `json:"modes"`
- Push LexModeName `json:"push"`
- Pop bool `json:"pop"`
+ Kind LexKind `json:"kind"`
+ Pattern LexPattern `json:"pattern"`
+ Modes []LexModeName `json:"modes"`
+ Push LexModeName `json:"push"`
+ Pop bool `json:"pop"`
+ Fragment bool `json:"fragment"`
}
func (e *LexEntry) validate() error {