Notes:
Significantly faster, mimics gcc's behavior for fringe cases. See change log.
Changes:
- Fixed problem with include directive:
#define stdio YADA
#include <stdio.h> <- <stdio.h> was turned into <YADA.h>
- Fixed conditional comp problem:
#if 0
/* next we define an invalid identifier */
#define 0x0asdf <- was causing an error
#endif
- Don't output .c file on error, unless -a flag is set.
- Makes use of the Sting Scanner (strscan) library (part of Ruby 1.8+). See:
http://i.loveruby.net/en/man/strscan/index.html
http://i.loveruby.net/en/prog/
Resulted in a 50%+ speed up.
|