This patch adds an expand function to makeobj to output the dat file as recognised by makeobj. This will output the same dat file as input but with all 'pre-processor' directives expanded.
Its use is for debugging dat files and for using it for other tools that don't recognise the new makeobj options like Simutranslator.
I want to checkout with you if I should push this to trunk.
looks good. The patch is quite short.
makeobj expand is integrated in Translator Import.
The Translator do not always call makeobj expand, it try to recognize short-cut.
Maybe this fails sometimes, if so give me a note.
if something like %include is build in makeobj the recognition needs to be extended.
for the present, it works fine