Function advance now recognizes C and C++ comments.
commitd6822db63f1e799a5df3fe403e2b17a0452ebc1e
authorSteven Schronk <steven@schronk.com>
Fri, 22 Oct 2010 21:23:56 +0000 (22 16:23 -0500)
committerSteven Schronk <steven@schronk.com>
Fri, 22 Oct 2010 21:23:56 +0000 (22 16:23 -0500)
treed407eadf6d2c121a22950328b4fe784dabfbec8d
parentfe08d5eb2ff9f4b41f9828d8c5231709874bbfef
Function advance now recognizes C and C++ comments.

Function should probably be made recursive to test
for all comment and whitespace combinations.

Advances past newline characters.

Function now returns a pointer to a char.

Function has_more_tokens now looks for EOF.
jack.c
token.c
token.h