# HG changeset patch # User lost@l-w.ca # Date 1314508610 21600 # Node ID 5ac1c4cd81a7515bb7818c8434bd12a7d1f21385 # Parent 83b7b4ce3bbd00b3f00d4f219357b0500426dfe3 Make sections behave correctly again with the update to support . and * for os9 diff -r 83b7b4ce3bbd -r 5ac1c4cd81a7 lwasm/section.c --- a/lwasm/section.c Sat Aug 27 00:23:19 2011 -0600 +++ b/lwasm/section.c Sat Aug 27 23:16:50 2011 -0600 @@ -127,7 +127,8 @@ lw_expr_destroy(l -> addr); l -> addr = lw_expr_copy(s -> offset); - + lw_expr_destroy(l -> daddr); + l -> daddr = lw_expr_copy(s -> offset); as -> csect = s; as -> context = lwasm_next_context(as);