diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-04 22:39:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-04 22:39:19 +0400 |
commit | 22a1ad61f93a4b060500e5295c58b128f24a2daf (patch) | |
tree | 5693c7acd41e5d325cf3f6f1675cbceb232dd8a4 /source/blender/makesdna/intern | |
parent | a115c02605b2692710f5d9b64d87407b7ca5b374 (diff) | |
parent | 937c5494c4933c65635450e66aeacffed74939f2 (diff) |
svn merge ^/trunk/blender -r42372:42416
Diffstat (limited to 'source/blender/makesdna/intern')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index b9bd2c073bf..11ab9b1efcf 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -475,6 +475,13 @@ static int preprocess_include(char *maindata, int len) if(comment); else if( cp[0]==' ' && cp[1]==' ' ); else if( cp[-1]=='*' && cp[0]==' ' ); /* pointers with a space */ + + /* skip special keywords */ + else if (strncmp("DNA_DEPRECATED", cp, 14)==0) { + /* single values are skipped already, so decrement 1 less */ + a -= 13; + cp += 13; + } else { md[0]= cp[0]; md++; |