summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-04 02:47:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-04 02:47:56 +0300
commit9a332e1a439810491e62eca90ab3e332b5dcf1c2 (patch)
tree37c81990727671b3fc0dbeebf3074b6e08db3153 /src
parent7ac48ddb743f4717b3d046a03089901d9c1a1def (diff)
downloadparanucker-9a332e1a439810491e62eca90ab3e332b5dcf1c2.tar.gz
paranucker-9a332e1a439810491e62eca90ab3e332b5dcf1c2.tar.bz2
paranucker-9a332e1a439810491e62eca90ab3e332b5dcf1c2.tar.xz
paranucker-9a332e1a439810491e62eca90ab3e332b5dcf1c2.zip
Dont parse field for RECORD_TYPE node because in some code parser may create more than 100000000 nodes.
Diffstat (limited to 'src')
-rw-r--r--src/parsers/type/record_type.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parsers/type/record_type.cpp b/src/parsers/type/record_type.cpp
index e6315e8..1bf986d 100644
--- a/src/parsers/type/record_type.cpp
+++ b/src/parsers/type/record_type.cpp
@@ -40,11 +40,14 @@ void parseRecordTypeNode(RecordTypeNode *node)
fillTypeName(node);
+/*
+ disable fields reading because it too many
FOR_CHAIN(node->gccNode, it, TYPE_FIELDS, DECL_CHAIN)
{
node->fields.push_back(static_cast<DeclNode*>(
createParseNode(node, it, "field")));
}
+*/
}
}