"Rick C. Hodgin" <foxmuldrs...@yahoo.com> writes: > I can also see a use for generated code where there's a base source code > template in use with an embedded include file reference that changes as > it's generated per pass, such as: > > int step1(int a, int b) > { #define self step1 > #include "\current_task\step1.cpp" #undef self > } > > int step2(int a, int b) > { #define self step2 > #include "\current_task\step2.cpp" #undef self > }
Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."