> On Dec 31, 2016, at 7:57 AM, Matt Wette <matt.we...@gmail.com> wrote:
> I think this may accomplish what you want: > > (define (my-xdef? name mode) (if (equal? name “__GNUC__”) #f (env? mode > ‘code)) > > (parse-c99 #:xdef? my-xdef? …) > The idea here is that there are two “modes” for parsing. "file" mode will pass the CPP statements to the AST and “code” mode will not. There is a procedure keyword argument #mode to control these. Matt