Code: Select all
macro startthing
{
endmacro
macro endthing
}
endmacro
Code: Select all
macro startthing
{
endmacro
macro endthing
}
endmacro
Alternatively, If you have some coding ability it should be possible to write a preprocessor that handles text substitution, whose output is then fed into beebasm.
Code: Select all
# "filename" 1234
Sounds like a useful future feature for Beebasm...?hjalfi wrote: ↑Mon Oct 09, 2023 2:42 pm I've looked at using a preprocessor, but unfortunately beebasm doesn't seem to have a way to set the current file and line number (equivalent to C'sdirectives), which means that error messages are always reported at the wrong place.Code: Select all
# "filename" 1234