summaryrefslogtreecommitdiff
path: root/parse/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse/parse.h')
-rw-r--r--parse/parse.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/parse/parse.h b/parse/parse.h
index fa7b99e..6070744 100644
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -23,6 +23,7 @@ typedef struct Tok Tok;
typedef struct Node Node;
typedef struct Ucon Ucon;
typedef struct Stab Stab;
+typedef struct Jtab Jtab;
typedef struct Type Type;
typedef struct Trait Trait;
@@ -174,6 +175,13 @@ struct Type {
char isreflect; /* Tyname: whether this type has reflection info */
};
+struct Jtab {
+ Node **val;
+ size_t nval;
+ Node **dst;
+ size_t ndst;
+};
+
struct Ucon {
Srcloc loc;
size_t id; /* unique id */
@@ -248,6 +256,7 @@ struct Node {
char *lblval;
int boolval;
Node *fnval;
+ Jtab *jtab;
};
} lit;