take into account the order in which CAPIT && ALL_CAPIT appears

This commit is contained in:
krangelov
2021-12-03 11:40:00 +01:00
parent df82e1e7ca
commit 0132a70b94
2 changed files with 21 additions and 17 deletions

View File

@@ -46,16 +46,16 @@ class PGF_INTERNAL_DECL PgfLinearizer : public PgfUnmarshaller {
TreeNode *first;
TreeNode *args;
bool capit;
bool allcapit;
enum CapitState { CAPIT_NONE, CAPIT_FIRST, CAPIT_ALL };
CapitState capit;
struct PreStack {
PreStack *next;
TreeNode *node;
ref<PgfSymbolKP> sym_kp;
bool bind;
bool capit;
bool allcapit;
CapitState capit;
};
PreStack *pre_stack;