diff --git a/src/macro/MacroBison.yy b/src/macro/MacroBison.yy index c91cfc29..9d48a907 100644 --- a/src/macro/MacroBison.yy +++ b/src/macro/MacroBison.yy @@ -228,7 +228,7 @@ comma_expr : %empty ; tuple_comma_expr : %empty - { $$ = vector{}; } // Empty array + { $$ = vector{}; } // Empty tuple | expr COMMA { $$ = vector{$1}; } | expr COMMA expr diff --git a/src/macro/MacroDriver.hh b/src/macro/MacroDriver.hh index 17d3411b..cc6dc909 100644 --- a/src/macro/MacroDriver.hh +++ b/src/macro/MacroDriver.hh @@ -165,7 +165,7 @@ private: vector func_env; //! Stack used to keep track of (possibly nested) loops - //! First element is loop variable name + //! First element is loop variable name(s) //! Second is the array over which iteration is done //! Third is subscript to be used by next call of iter_loop() (beginning with 0) */ stack, shared_ptr, int>> loop_stack;