summaryrefslogtreecommitdiff
path: root/src/webidl-ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/webidl-ast.c')
-rw-r--r--src/webidl-ast.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/webidl-ast.c b/src/webidl-ast.c
index 53ba7e6..91da839 100644
--- a/src/webidl-ast.c
+++ b/src/webidl-ast.c
@@ -25,8 +25,9 @@ struct webidl_node {
struct webidl_node *l;
union {
void *value;
- struct webidl_node *node;
- char *text;
+ struct webidl_node *node; /* node has a list of nodes */
+ char *text; /* node data is text */
+ int number; /* node data is an integer */
} r;
};