Skip to content

Commit

Permalink
mkclass: treat "track;" as "track {{{ }}}"
Browse files Browse the repository at this point in the history
refs #8180
  • Loading branch information
Al2Klimov committed Aug 27, 2020
1 parent a78ab7c commit b6c2fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mkclass/class_parser.yy
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ field_accessor: T_FIELD_ACCESSOR_TYPE T_STRING
}
| T_FIELD_ACCESSOR_TYPE ';'
{
$$ = new FieldAccessor(static_cast<FieldAccessorType>($1), "", true);
$$ = new FieldAccessor(static_cast<FieldAccessorType>($1), $1 == FTTrack ? " " : "", true);
}
;

Expand Down

0 comments on commit b6c2fc6

Please sign in to comment.