Move is_new and has_postdims bits out of declinfo and into typeinfo.

This commit is contained in:
David Anderson
2014-11-07 17:05:27 -08:00
parent b89bd36335
commit 2c31b99ce3
2 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -287,14 +287,14 @@ typedef struct {
int numtags; // Number of tags found.
int ident; // Either iREFERENCE, iARRAY, or iVARIABLE.
char usage; // Usage flags.
bool is_new; // New-style declaration.
bool has_postdims; // Dimensions, if present, were in postfix position.
} typeinfo_t;
/* For parsing declarations. */
typedef struct {
char name[sNAMEMAX + 1];
typeinfo_t type;
int is_new; // New-style declaration.
int has_postdims; // Dimensions, if present, were in postfix position.
int opertok; // Operator token, if applicable.
} declinfo_t;