mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Remove token ID/Key distinction, part 3 of N
This commit is contained in:
1 parent
7007682182
commit
19d76bc61d
1 file changed
+3
-2
+3
-2
@@ -391,8 +391,8 @@ const (
|
|||||||
IDAmpHat = ID(0x38<<KeyShift | FlagsBinaryOp)
|
IDAmpHat = ID(0x38<<KeyShift | FlagsBinaryOp)
|
||||||
IDPipe = ID(0x39<<KeyShift | FlagsBinaryOp | FlagsAssociativeOp)
|
IDPipe = ID(0x39<<KeyShift | FlagsBinaryOp | FlagsAssociativeOp)
|
||||||
IDHat = ID(0x3A<<KeyShift | FlagsBinaryOp | FlagsAssociativeOp)
|
IDHat = ID(0x3A<<KeyShift | FlagsBinaryOp | FlagsAssociativeOp)
|
||||||
IDPercent = ID(0x3B<<KeyShift | FlagsBinaryOp | FlagsAssociativeOp)
|
IDPercent = ID(0x3B<<KeyShift | FlagsBinaryOp)
|
||||||
IDTildePlus = ID(0x3C<<KeyShift | FlagsBinaryOp) // TODO: FlagsAssociativeOp?
|
IDTildePlus = ID(0x3C<<KeyShift | FlagsBinaryOp)
|
||||||
|
|
||||||
IDNotEq = ID(0x40<<KeyShift | FlagsBinaryOp)
|
IDNotEq = ID(0x40<<KeyShift | FlagsBinaryOp)
|
||||||
IDLessThan = ID(0x41<<KeyShift | FlagsBinaryOp)
|
IDLessThan = ID(0x41<<KeyShift | FlagsBinaryOp)
|
||||||
@@ -938,6 +938,7 @@ var associativeForms = [256]ID{
|
|||||||
KeyHat: IDXAssociativeHat,
|
KeyHat: IDXAssociativeHat,
|
||||||
KeyAnd: IDXAssociativeAnd,
|
KeyAnd: IDXAssociativeAnd,
|
||||||
KeyOr: IDXAssociativeOr,
|
KeyOr: IDXAssociativeOr,
|
||||||
|
// TODO: KeyTildePlus?
|
||||||
}
|
}
|
||||||
|
|
||||||
var isOpen = [...]bool{
|
var isOpen = [...]bool{
|
||||||
|
|||||||
Reference in new issue
Block a user