diff options
author | bd <bdunaisky@umass.edu> | 2024-11-04 22:28:56 -0500 |
---|---|---|
committer | bd <bdunaisky@umass.edu> | 2024-11-04 22:28:56 -0500 |
commit | 4717b3ea91b47c3d04d09cf84b9221ea1f89d9f2 (patch) | |
tree | 8e5c3d6a83609cd32dbf663b409485697196f7a5 /src/gscc | |
parent | bad998157c95851eb29d3e4f6824a276d7032b12 (diff) |
Basic lexer with unit tests
Diffstat (limited to 'src/gscc')
-rwxr-xr-x | src/gscc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,7 +34,8 @@ file on a success." (define (process file parse? assemble?) "Driver for lexing, parsing, and assembly generation." (let ((port (open-input-file file))) - (read-tokens-from-port port) + (set-current-input-port port) + (read-tokens) (close-input-port port))) (define (postprocess file dest) |