Mercurial > hg-old > index.cgi
diff lwasm/pseudo.c @ 254:c7a41b4c89b3 2.x
Added struct support to LWASM
author | lost |
---|---|
date | Sat, 19 Dec 2009 06:38:43 +0000 |
parents | f9f01a499525 |
children | e27279180a73 |
line wrap: on
line diff
--- a/lwasm/pseudo.c Wed Dec 09 03:59:26 2009 +0000 +++ b/lwasm/pseudo.c Sat Dec 19 06:38:43 2009 +0000 @@ -222,6 +222,8 @@ if (r != 0) return; l -> nocodelen = v; + if (as -> instruct) + return; as -> addr += v; } @@ -240,6 +242,8 @@ return; v *= 2; l -> nocodelen = v; + if (as -> instruct) + return; as -> addr += v; } @@ -258,6 +262,8 @@ return; v *= 4; l -> nocodelen = v; + if (as -> instruct) + return; as -> addr += v; }