diff options
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r-- | source/blender/makesdna/intern/makesdna.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c index 12ec7262906..0d2f265a9b5 100644 --- a/source/blender/makesdna/intern/makesdna.c +++ b/source/blender/makesdna/intern/makesdna.c @@ -620,7 +620,6 @@ static int preprocess_include(char *maindata, const int maindata_len) int newlen = 0; comment = 0; a = maindata_len; - bool skip_until_closing_brace = false; while (a--) { if (cp[0] == '/' && cp[1] == '*') { @@ -647,17 +646,6 @@ static int preprocess_include(char *maindata, const int maindata_len) a -= 13; cp += 13; } - else if (match_identifier(cp, "DNA_DEFINE_CXX_METHODS")) { - /* single values are skipped already, so decrement 1 less */ - a -= 21; - cp += 21; - skip_until_closing_brace = true; - } - else if (skip_until_closing_brace) { - if (cp[0] == ')') { - skip_until_closing_brace = false; - } - } else { md[0] = cp[0]; md++; |