From: Jay Freeman (saurik) Date: Wed, 23 Dec 2015 08:25:37 +0000 (-0800) Subject: Move brackets from parts to pattern: it's simpler. X-Git-Tag: v0.9.590~152 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/e5da08fbfa01a4d812d0f88abbb98faa9a410e03 Move brackets from parts to pattern: it's simpler. --- diff --git a/Analyze.cpp b/Analyze.cpp index c6e5777..ffc7c09 100644 --- a/Analyze.cpp +++ b/Analyze.cpp @@ -138,15 +138,10 @@ static CXChildVisitResult CYChildVisit(CXCursor cursor, CXCursor parent, CXClien goto skip; CYFieldBaton baton; - - baton.types << "["; - baton.names << "["; clang_visitChildren(cursor, &CYFieldVisit, &baton); - baton.types << "]"; - baton.names << "]"; name += "$cy"; - value << "new Type(" << baton.types.str() << "," << baton.names.str() << ")"; + value << "new Type([" << baton.types.str() << "],[" << baton.names.str() << "])"; } break; case CXCursor_TypedefDecl: {