summaryrefslogtreecommitdiff
path: root/lang/spec.go
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spec.go')
-rw-r--r--lang/spec.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/spec.go b/lang/spec.go
index c5b50a4..a910f70 100644
--- a/lang/spec.go
+++ b/lang/spec.go
@@ -20,7 +20,8 @@ const ASCIILen = 1 << 7 // 128
type TokenProp struct {
TokenId
- SkipSemi bool // automatic semicolon insertion after newline
+ SkipSemi bool // automatic semicolon insertion after newline
+ Precedence int // operator precedence
}
type Spec struct {