Skip to content

Commit

Permalink
initialize whitespacing when creating grammar.
Browse files Browse the repository at this point in the history
  • Loading branch information
soasme committed Feb 15, 2021
1 parent 3e751eb commit e75024b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peppapeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,7 @@ P4_CreateSource(P4_String content, P4_RuleID rule_id) {
source->frames = NULL;
source->frames_len = 0;
source->frames_cap = 0;
source->whitespacing = false;
return source;
}

Expand Down

0 comments on commit e75024b

Please sign in to comment.