testsuite/tickets/397_pp_if.prl complains about multiple declaration of an identifier
MODULE(x);
PROBLEM;
#DEFINE version = 1 ;
#IF version = 1 ;
DCL f(10) FIXED;
#ELSE;
DCL f(12) FIXED;
#FIN;
MODEND;
Error Message:
397_pp_if.prl:4:7: error: duplicate declaration: f
DCL f(12) FIXED;
^
397_pp_if.prl:3:7: note: previous declaration: was here
DCL f(10) FIXED;
^
compilation aborted with errors
by the way: The line numbers do not regard regard the preprocessor lines
Anonymous
Should with the new preprocessor working now.