diff options
author | Kyle Gunger <corechg@gmail.com> | 2020-07-03 13:17:26 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2020-07-03 13:17:26 -0400 |
commit | 5a022193a96e72fa5144755938e6a575aba165b0 (patch) | |
tree | b04404711ee7aa232b116bb40fac10fd12637978 /src/main.go | |
parent | 135c347a1d9ee7f121fea275139bce85fae33e0c (diff) |
Extra Numbers
+ Add line and character numbers to tokens
+ Impliment line and character numbers
~ Line and char nums start at 0 for now
~ There's this itch in my mind like something is broken
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go index ec3b14b..8edd129 100644 --- a/src/main.go +++ b/src/main.go @@ -18,7 +18,7 @@ func main() { return } - fd.WriteString(fmt.Sprint(tparse.ParseFile(*inputFile))) + fd.WriteString(fmt.Sprint(tparse.TokenizeFile(*inputFile))) fd.Close() } |