mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
Add support for function symbols.
This commit is contained in:
parent
b186173d18
commit
8fb1b49a9d
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ typedef enum {
|
|||
sy_const, ///< symbol refers to a constant
|
||||
sy_type, ///< symbol refers to a type
|
||||
sy_expr, ///< symbol refers to an expression
|
||||
sy_func, ///< symbol refers to a function
|
||||
} sy_type_e;
|
||||
|
||||
typedef struct symbol_s {
|
||||
|
@ -61,6 +62,7 @@ typedef struct symbol_s {
|
|||
union {
|
||||
int value;
|
||||
struct expr_s *expr;
|
||||
struct function_s *func;
|
||||
} s;
|
||||
} symbol_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue