mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Re-order some token.ID numbers
This commit is contained in:
1 parent
109d6f04bc
commit
b18209c7dd
1 file changed
+25
-27
+25
-27
@@ -406,9 +406,8 @@ const (
|
|||||||
|
|
||||||
// -------- 0x100 block.
|
// -------- 0x100 block.
|
||||||
|
|
||||||
IDEmptyStruct = ID(0x100)
|
IDArgs = ID(0x100)
|
||||||
IDBool = ID(0x101)
|
IDThis = ID(0x101)
|
||||||
IDUtility = ID(0x102)
|
|
||||||
|
|
||||||
IDT1 = ID(0x108)
|
IDT1 = ID(0x108)
|
||||||
IDT2 = ID(0x109)
|
IDT2 = ID(0x109)
|
||||||
@@ -432,20 +431,20 @@ const (
|
|||||||
IDU32 = ID(0x116)
|
IDU32 = ID(0x116)
|
||||||
IDU64 = ID(0x117)
|
IDU64 = ID(0x117)
|
||||||
|
|
||||||
IDRangeIEU32 = ID(0x120)
|
IDBase = ID(0x120)
|
||||||
IDRangeIIU32 = ID(0x121)
|
IDBool = ID(0x121)
|
||||||
IDRangeIEU64 = ID(0x122)
|
IDEmptyStruct = ID(0x122)
|
||||||
IDRangeIIU64 = ID(0x123)
|
IDIOReader = ID(0x123)
|
||||||
IDRectIEU32 = ID(0x124)
|
IDIOWriter = ID(0x124)
|
||||||
IDRectIIU32 = ID(0x125)
|
IDStatus = ID(0x125)
|
||||||
|
IDUtility = ID(0x126)
|
||||||
|
|
||||||
IDIOReader = ID(0x128)
|
IDRangeIEU32 = ID(0x130)
|
||||||
IDIOWriter = ID(0x129)
|
IDRangeIIU32 = ID(0x131)
|
||||||
IDStatus = ID(0x12A)
|
IDRangeIEU64 = ID(0x132)
|
||||||
|
IDRangeIIU64 = ID(0x133)
|
||||||
IDArgs = ID(0x130)
|
IDRectIEU32 = ID(0x134)
|
||||||
IDBase = ID(0x131)
|
IDRectIIU32 = ID(0x135)
|
||||||
IDThis = ID(0x132)
|
|
||||||
|
|
||||||
IDFrameConfig = ID(0x150)
|
IDFrameConfig = ID(0x150)
|
||||||
IDImageConfig = ID(0x151)
|
IDImageConfig = ID(0x151)
|
||||||
@@ -715,9 +714,8 @@ var builtInsByID = [nBuiltInIDs]string{
|
|||||||
|
|
||||||
// -------- 0x100 block.
|
// -------- 0x100 block.
|
||||||
|
|
||||||
IDEmptyStruct: "empty_struct",
|
IDArgs: "args",
|
||||||
IDBool: "bool",
|
IDThis: "this",
|
||||||
IDUtility: "utility",
|
|
||||||
|
|
||||||
// Some of the next few IDs are never returned by the tokenizer, as it
|
// Some of the next few IDs are never returned by the tokenizer, as it
|
||||||
// rejects non-ASCII input. The string representations "¶", "ℤ" etc. are
|
// rejects non-ASCII input. The string representations "¶", "ℤ" etc. are
|
||||||
@@ -761,6 +759,14 @@ var builtInsByID = [nBuiltInIDs]string{
|
|||||||
IDU32: "u32",
|
IDU32: "u32",
|
||||||
IDU64: "u64",
|
IDU64: "u64",
|
||||||
|
|
||||||
|
IDBase: "base",
|
||||||
|
IDBool: "bool",
|
||||||
|
IDEmptyStruct: "empty_struct",
|
||||||
|
IDIOReader: "io_reader",
|
||||||
|
IDIOWriter: "io_writer",
|
||||||
|
IDStatus: "status",
|
||||||
|
IDUtility: "utility",
|
||||||
|
|
||||||
IDRangeIEU32: "range_ie_u32",
|
IDRangeIEU32: "range_ie_u32",
|
||||||
IDRangeIIU32: "range_ii_u32",
|
IDRangeIIU32: "range_ii_u32",
|
||||||
IDRangeIEU64: "range_ie_u64",
|
IDRangeIEU64: "range_ie_u64",
|
||||||
@@ -768,14 +774,6 @@ var builtInsByID = [nBuiltInIDs]string{
|
|||||||
IDRectIEU32: "rect_ie_u32",
|
IDRectIEU32: "rect_ie_u32",
|
||||||
IDRectIIU32: "rect_ii_u32",
|
IDRectIIU32: "rect_ii_u32",
|
||||||
|
|
||||||
IDIOReader: "io_reader",
|
|
||||||
IDIOWriter: "io_writer",
|
|
||||||
IDStatus: "status",
|
|
||||||
|
|
||||||
IDArgs: "args",
|
|
||||||
IDBase: "base",
|
|
||||||
IDThis: "this",
|
|
||||||
|
|
||||||
IDFrameConfig: "frame_config",
|
IDFrameConfig: "frame_config",
|
||||||
IDImageConfig: "image_config",
|
IDImageConfig: "image_config",
|
||||||
IDPixelBuffer: "pixel_buffer",
|
IDPixelBuffer: "pixel_buffer",
|
||||||
|
|||||||
Reference in new issue
Block a user