Parse use "std/io".

This commit is contained in:
Nigel Tao committed 2017-05-05 15:07:30 +10:00
1 parent 9d80cbe6b4
commit 60a4fdb9fd
4 files changed
+95 -31

No files matched your search

+6 -1
View File
@@ -112,8 +112,12 @@ const (
// - FlagsSuspendible is "ID1" vs "ID1?"
KStruct
// KUse is "use ID1":
// - ID1: <string literal> package path
KUse
// KFile is a file of source code:
// - List0: <KFunc|KStruct> top-level declarations
// - List0: <KFunc|KStruct|KUse> top-level declarations
KFile
)
@@ -139,6 +143,7 @@ var kindStrings = [...]string{
KReturn: "KReturn",
KStruct: "KStruct",
KType: "KType",
KUse: "KUse",
}
type Flags uint32