diff options
author | Adrian Thurston <thurston@complang.org> | 2013-10-19 12:03:56 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-10-19 12:03:56 -0400 |
commit | b02fa34cad72bbebb16ddaf1c061ff19d54b90e5 (patch) | |
tree | 0b7b30d41b76d632a1a44b905c0bdaa51e9f3428 /src/loadinit.h | |
parent | 71c8d4f1485b398448aeaf53d109544835fc2cb6 (diff) | |
download | colm-b02fa34cad72bbebb16ddaf1c061ff19d54b90e5.tar.gz |
prefix a default rhs name with _ for recursive refs
This prevents a conflict with the constructor.
Diffstat (limited to 'src/loadinit.h')
-rw-r--r-- | src/loadinit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loadinit.h b/src/loadinit.h index 4a3120c7..6aea12ac 100644 --- a/src/loadinit.h +++ b/src/loadinit.h @@ -55,8 +55,8 @@ struct LoadInit LexExpression *walkLexExpr( lex_expr &LexExpr ); void walkTokenList( token_list &TokenList ); void walkLexRegion( item &LexRegion ); - void walkProdElList( ProdElList *list, prod_el_list &prodElList ); - void walkProdList( LelDefList *list, prod_list &prodList ); + void walkProdElList( String defName, ProdElList *list, prod_el_list &prodElList ); + void walkProdList( String defName, LelDefList *list, prod_list &prodList ); void walkDefinition( item &define ); /* Constructing statements needed to parse and export the input. */ |