# HG changeset patch # User William Astle # Date 1444962020 21600 # Node ID f5a88f147faea0262aa47b8c558f75a93d495d0b # Parent b20f14edda5a45506ed7bb2e71375ecb857ecc0c Update "as" wrapper for gcc6809 to use new source format Enable pragma newsource for the "as" wrapper in extra/ to allow preprocessed asm to work as expected with macro expansions. diff -r b20f14edda5a -r f5a88f147fae extra/as --- a/extra/as Wed Oct 14 20:49:41 2015 -0600 +++ b/extra/as Thu Oct 15 20:20:20 2015 -0600 @@ -126,7 +126,9 @@ # --pragma=undefextern causes undefined symbols to be assumed external # --pragma=cescapes allows C escape syntax in strings #echo lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes $input_file -lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes --pragma=importundefexport $input_file +# pragma=newsource allows preprocessed asm files with macro expansion to assemble properly even +# when the preprocessor interproses extra spaces +lwasm -o "$output_file" $options --obj --pragma=undefextern --pragma=cescapes --pragma=importundefexport --pragma=newsource $input_file rc=$? # OK, see if the assembler succeeded or not.