diff --git a/src/ccmeta.leg b/src/ccmeta.leg index b3ce888..a3f3f82 100644 --- a/src/ccmeta.leg +++ b/src/ccmeta.leg @@ -3,7 +3,7 @@ # Copyright (c) 2016-2021 Ian Piumarta and other contributors (see AUTHORS) # All rights reserved (see LICENSE) # -# Last edited: 2023-03-22 18:09:27 by piumarta on zora-10.local +# Last edited: 2023-03-22 18:11:54 by piumarta on zora-10.local %{ /* compile: leg -o ccmeta.c ccmeta.leg @@ -392,6 +392,7 @@ oop new_C_functionDef(oop specifiers, oop declarator, oop declarationList, oop c map_set(object, declarators_symbol, declarator); map_set(object, declarationL_symbol,declarationList); map_set(object, compoundS_symbol, compoundStatement); + map_set(program, last_symbol, object); return object; }