Add support for new-style declarations in local variables.

This commit is contained in:
David Anderson
2014-07-04 21:16:39 -07:00
parent 5d753c2697
commit 376eb9725e
3 changed files with 223 additions and 205 deletions
+1
View File
@@ -263,6 +263,7 @@ typedef struct svalue_s {
#define DECLFLAG_VARIABLE 0x04 // The declaration is for a variable.
#define DECLFLAG_ENUMROOT 0x08 // Multi-dimensional arrays should have an enumroot.
#define DECLFLAG_MAYBE_FUNCTION 0x10 // Might be a named function.
#define DECLFLAG_DYNAMIC_ARRAYS 0x20 // Dynamic arrays are allowed.
#define DECLMASK_NAMED_DECL (DECLFLAG_ARGUMENT | DECLFLAG_VARIABLE | DECLFLAG_MAYBE_FUNCTION)
typedef struct {