From: Robert L. t. G. <rh...@as...> - 2009-03-02 23:46:51
|
The following .i file generates a syntax error; remove the comment in %FOO and all is well. It's something about expanding an argument within a comment, and I'd guess that the result of expanding %GOO includes the newline (which is usually what you want) --- so the ABC appears on a line of its own. If I'm right, we should strip comments before expanding macro arguments. R %module foo; %define %GOO(ARG1) ARG1 x; %enddef %define %FOO(ARG2) // ARG2 ABC %enddef %FOO(%GOO(float)); |