S
Stefan Drissen
Guest
A small issue concerning the strategy of compiling debug-listings. When include arguments are passed: { i.i &defines-only = true } &if defined( defines-only ) = 0 &then function myfunc returns logical in {1}. &endif The debug listing (stripped of line numbers) is then: &if defined( defines-only ) = 0 &then function myfunc returns logical in true. &endif Since the debug listing does not have the defines, the line which should not be compiled, is. The work-around is to promote the include arguments to actual preprocessors: &scoped-define defines-only true { i.i } This could be considered a bug in the debug-list option of the compiler, but I suppose debug-listings were never considered to be compile units.
Continue reading...
Continue reading...