ref: 2573b7fab4e3a73d0de572bcf3f23bfcfd76f83e
parent: aed462460163dc4694f096f9b7bd823ed24a7599
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Aug 17 10:01:29 EDT 2016
[cc2] Add support for NULL in label2node() It is going to be useful to have the allocation of the node in the own label2node(), because this function is going to be used with auxiliar labels which are generated at the same time than the node.
--- a/cc2/code.c
+++ b/cc2/code.c
@@ -71,6 +71,8 @@
{
Node *np;
+ if(!sym)
+ sym = newlabel();
np = newnode(OLABEL);
np->u.sym = sym;