27Oct00
Procedural Macros for Java
Bachrach and Playford
Parsing Statement Macros
•Start is first token past last terminator
•End is first terminator not followed by a continuation word
•Example
–#{ f(x); do x++; while (x < 0); g(y); }
–do’s macro arguments would be:
–#{ do x++; while (x < 0); }
–
–