You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously we had `code:yytarget_goto`, `code:yyctable_goto` for computed
`goto` target expression, and `code:yytarget_elem`, `code:yyctable_elem`
for table initializers. The defintions for `yytarget` and `yyctable` were
almost identical, and the decision to keep them separate was taken only
so that each set of code templates could specify a different underlying
type for table elements. It was impossible to pass the type using
`code:type_yyctarget`, `code:type_yyctable` because these configurations
included type qualifiers like `static const`.
For the full discussion see this thread:
#537 (comment)
Now that we've got rid of type qualifiers in commit
a94d39b, it has become possible to merge
code templates for `yytarget` and `yyctable` and avoid the duplication.
0 commit comments