comparison lwasm/lwasm.c @ 345:7416c3f9c321

Basic macro processor ported forward; added context break handling for local symbols
author lost@starbug
date Thu, 25 Mar 2010 23:17:54 -0600
parents 0215a0fbf61b
children a82c55070624
comparison
equal deleted inserted replaced
344:0215a0fbf61b 345:7416c3f9c321
75 r = vsnprintf(errbuff, 1024, msg, args); 75 r = vsnprintf(errbuff, 1024, msg, args);
76 e -> mess = lw_strdup(errbuff); 76 e -> mess = lw_strdup(errbuff);
77 77
78 va_end(args); 78 va_end(args);
79 } 79 }
80
81 int lwasm_next_context(asmstate_t *as)
82 {
83 int r;
84 r = as -> nextcontext;
85 as -> nextcontext++;
86 return r;
87 }