Blender Git Loki
Git Commits -> Revision 31e6f0d
Revision 31e6f0d by Campbell Barton (master) July 7, 2021, 02:35 (GMT) |
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 |
Commit Details:
Full Hash: 31e6f0dc7af6ff1be19da93021b7095fe68da833
Parent Commit: f85ef3d
Lines Changed: +50, -10
1 Modified Path:
/source/blender/makesdna/intern/makesdna.c (+50, -10) (Diff)