Asm/#20: Read files with pre-processor

Bug report from khorben on 04/05/2006 17:51:06
If the grammar allows it, read files through a C pre-processor. This would require attention regarding at least:
  • comments;
  • opcodes, variables and registers syntax;
  • quoting.
This is now implemented and works.
A couple hacks were necessary though, in particular registers are parsed as two tokens instead of one (because of the % operator).
A preliminary version of the libcpp library was committed yesterday. It should be possible to use it with the assembler.