summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
139fdb6)
Signed-off-by: Etienne Bergeron <etienneb@google.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct bt_list_head siblings;
struct bt_list_head tmp_head;
struct bt_list_head gc;
struct bt_list_head siblings;
struct bt_list_head tmp_head;
struct bt_list_head gc;
enum node_type type;
union {
enum node_type type;
union {
return NULL;
memset(node, 0, sizeof(*node));
node->type = type;
return NULL;
memset(node, 0, sizeof(*node));
node->type = type;
+ node->lineno = yyget_lineno(scanner->scanner);
BT_INIT_LIST_HEAD(&node->tmp_head);
bt_list_add(&node->gc, &ast->allocated_nodes);
bt_list_add(&node->siblings, &node->tmp_head);
BT_INIT_LIST_HEAD(&node->tmp_head);
bt_list_add(&node->gc, &ast->allocated_nodes);
bt_list_add(&node->siblings, &node->tmp_head);