comparison src/lwasm.h @ 78:121bf4a588ea

Checkpointing deployment of non-constant expression handling
author lost
date Sat, 10 Jan 2009 05:00:42 +0000
parents a338d496350e
children 03be43ae19cf
comparison
equal deleted inserted replaced
77:a338d496350e 78:121bf4a588ea
94 }; 94 };
95 95
96 // for keeping track of symbols 96 // for keeping track of symbols
97 #define SYMBOL_SET 1 // the symbol was used for "SET" 97 #define SYMBOL_SET 1 // the symbol was used for "SET"
98 #define SYMBOL_COMPLEX 2 // register symbol as a complex symbol (from l -> expr) 98 #define SYMBOL_COMPLEX 2 // register symbol as a complex symbol (from l -> expr)
99 #define SYMBOL_FORCE 4 // force resetting the symbol value if it already exists on pass 2
99 #define SYMBOL_NORM 0 // no flags 100 #define SYMBOL_NORM 0 // no flags
100 typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t; 101 typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t;
101 struct lwasm_symbol_ent_s 102 struct lwasm_symbol_ent_s
102 { 103 {
103 char *sym; // the symbol 104 char *sym; // the symbol