comparison lwlib/lw_expr.c @ 377:67373a053c49

Add ?rts target for branch instructions Add a ?rts target for branch instructions, which brances to the nearest RTS or inverts the branch logic to branch around a generated RTS. Activated by a pragma "qrts". Thanks to Erik G <erik@6809.org> for the patch.
author William Astle <lost@l-w.ca>
date Mon, 13 Jul 2015 20:50:02 -0600
parents 433dbc18fb41
children 6153cb49403c
comparison
equal deleted inserted replaced
376:35d4213e6657 377:67373a053c49
22 #include <stdarg.h> 22 #include <stdarg.h>
23 #include <stdio.h> 23 #include <stdio.h>
24 #include <string.h> 24 #include <string.h>
25 #include <ctype.h> 25 #include <ctype.h>
26 26
27 #define ___lw_expr_c_seen___
28 #include "lw_alloc.h" 27 #include "lw_alloc.h"
29 #include "lw_expr.h" 28 #include "lw_expr.h"
30 #include "lw_error.h" 29 #include "lw_error.h"
31 #include "lw_string.h" 30 #include "lw_string.h"
32 31