Add base.PIXEL_FORMAT__ETC constants

This commit is contained in:
Nigel Tao committed 2020-06-09 12:34:34 +10:00
1 parent 983c5cd90e
commit 7e32336de0
10 files changed
+127 -46

No files matched your search

+10 -5
View File
@@ -450,12 +450,13 @@ const (
IDCoroutineResumed = ID(0x101)
IDThis = ID(0x102)
IDT1 = ID(0x108)
IDT2 = ID(0x109)
IDDagger1 = ID(0x10A)
IDDagger2 = ID(0x10B)
IDT1 = ID(0x104)
IDT2 = ID(0x105)
IDDagger1 = ID(0x106)
IDDagger2 = ID(0x107)
IDQNullptr = ID(0x10C)
IDQNullptr = ID(0x10B)
IDQPackage = ID(0x10C)
IDQPlaceholder = ID(0x10D)
IDQTypeExpr = ID(0x10E)
@@ -809,6 +810,10 @@ var builtInsByID = [nBuiltInIDs]string{
// the nullptr literal.
IDQNullptr: "«Nullptr»",
// IDQPackage is used by the type checker to build an artificial MType for
// used (imported) packages.
IDQPackage: "«Package»",
// IDQPlaceholder is used by the type checker to build an artificial MType
// for AST nodes that aren't expression nodes or type expression nodes,
// such as struct definition nodes and statement nodes. Its presence means