summaryrefslogtreecommitdiff
path: root/lang/spec.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2026-01-07 19:06:23 +0100
committerMarc Vertes <mvertes@free.fr>2026-01-07 19:06:23 +0100
commit6875facb39de63eb6353be2f700b9eacb631e9fa (patch)
tree31b8d7c8701df2f52a7b3cecc82dd775c9d9f428 /lang/spec.go
parentca80eeaa812b49afea75d3084d0c62770e4a8d18 (diff)
fix: improve handling of composite literal struct expressions
Diffstat (limited to 'lang/spec.go')
-rw-r--r--lang/spec.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/lang/spec.go b/lang/spec.go
index b8539e3..7cd748f 100644
--- a/lang/spec.go
+++ b/lang/spec.go
@@ -37,7 +37,7 @@ type TokenProp struct {
Token
SkipSemi bool // automatic semicolon insertion after newline
Precedence int // operator precedence
- Associativity //
+ Associativity // associativity of operator
HasInit bool // true if may have an init clause
}
@@ -51,5 +51,4 @@ type Spec struct {
DotNum bool // true if a number can start with '.'
IdentASCII bool // true if an identifier can be in ASCII only
NumUnder bool // true if a number can contain _ character
- // TokenProps map[string]TokenProp // token properties
}