Skip to content

Commit

Permalink
Fix for 4970 failing on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 16, 2024
1 parent 38819a9 commit 2873426
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cobc/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -9252,7 +9252,10 @@ report_group_description_entry:
| level_number error _dot_or_else_end_of_report_group_description
{
/* Free tree associated with level number */
#if 0 /* works fine without, leads to invalid free otherwise [COB_TREE_DEBUG] */
/* Free tree associated with level number */
cobc_parse_free ($1);
#endif
yyerrok;
check_pic_duplicate = 0;
check_duplicate = 0;
Expand Down

0 comments on commit 2873426

Please sign in to comment.