Mercurial > hg-old > index.cgi
comparison src/pass2.c @ 57:035b95a3690f
Added conditional assembly and macros
author | lost |
---|---|
date | Mon, 05 Jan 2009 00:01:21 +0000 |
parents | 360d53062bb9 |
children | b1d81800bc91 |
comparison
equal
deleted
inserted
replaced
56:55260a178667 | 57:035b95a3690f |
---|---|
35 debug_message(1, "Entering pass 2"); | 35 debug_message(1, "Entering pass 2"); |
36 as -> passnum = 2; | 36 as -> passnum = 2; |
37 as -> addr = 0; | 37 as -> addr = 0; |
38 as -> context = 0; | 38 as -> context = 0; |
39 as -> endseen = 0; | 39 as -> endseen = 0; |
40 | 40 as -> skipcond = 0; |
41 as -> skipcount = 0; | |
42 as -> skipmacro = 0; | |
43 as -> inmacro = 0; | |
44 as -> nextcontext = 1; | |
45 as -> skiplines = 0; | |
46 | |
41 // iterate over all the lines and re-parse them | 47 // iterate over all the lines and re-parse them |
42 for (l = as -> lineshead; l && !(as -> endseen); l = l -> next) | 48 for (l = as -> lineshead; l && !(as -> endseen); l = l -> next) |
43 lwasm_parse_line(as, l); | 49 { |
50 if (as -> skiplines) | |
51 as -> skiplines--; | |
52 else | |
53 lwasm_parse_line(as, l); | |
54 } | |
44 } | 55 } |