diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-07 05:35:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-07 05:35:03 +0300 |
commit | 31e6f0dc7af6ff1be19da93021b7095fe68da833 (patch) | |
tree | cef869d41ccc677310215d1ee9a6e2d4f9663e02 /source/blender/draw/intern/draw_manager_exec.c | |
parent | f85ef3d4423d77abe84072b781c02dd5a6145109 (diff) |
makesdna: fix parsing 'const', 'struct', 'unsigned' as a prefix
DNA parsing assumed any identifier which starts with
(`struct`, `unsigned`, `const`) was that identifier.
So a struct called `constTest foo;` would be parsed as `est foo;`.
Add utility function to check identifiers are not
part of a larger identifier.
This also supports skipping these identifiers in any order.
Reviewed By: LazyDodo
Ref D11837
Diffstat (limited to 'source/blender/draw/intern/draw_manager_exec.c')
0 files changed, 0 insertions, 0 deletions