Pre-Processor Source Code
-------------------------

Nothing special. It just simply processes a BAS file and outputs to a BAS file with the includes, and without comments (although the compiler can handle em, i took the comments out). It also treats the underscore '_' token as a continuation of a line. So the compiler will only see a single line.

If you want to change the token parser, change the preproc.L file, but you'll need flex to build the source file again.

TODO:
-----
* There is an issue that needs to be worked on with both the compiler and pre-processor. The issue is basically when the pre-processor expands included files, the output bas file grows in length (more lines). So what happens when 	compiler says an error on a particular line number, the original bas file has a different line number for one part then the outputted BAS file. That was a bad explanation, so here is an example:

      Original BAS file (line numbers added here):

      1: $include: 'stdbasic.bi'
      2: DIM something AS INTEGER
      3: IF something = 1 THEN
      4:    something = 0
      5: END IF
      6: something.causeerror

      The outputted file will be (line numbers added here):
      1: ' ---- included file 'stdbasic.bi' ------
      2: DECLARE SUB PRINT()
      3: etc
      4: ' ----------------------------------------
      5: DIM something AS INTEGER
      6: IF something = 1 THEN
      7:    something = 0
      8: END IF
      9: something.causeerror
	
The compiler will process the outputted file from the pre-processor and notice an error on line 9 (i hope it notices the error:) and tells the user about the error that is on line 9. The problem is that the error was originally on line 6. I hope that's a better explanation!
I plan on using special keywords to tell the compiler how many lines to subtract from the line count.

* Define system needs to be done
* Plenty of other checking.


-JasonB


