summaryrefslogtreecommitdiff
path: root/src/main.go
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-07-03 13:17:26 -0400
committerKyle Gunger <corechg@gmail.com>2020-07-03 13:17:26 -0400
commit5a022193a96e72fa5144755938e6a575aba165b0 (patch)
treeb04404711ee7aa232b116bb40fac10fd12637978 /src/main.go
parent135c347a1d9ee7f121fea275139bce85fae33e0c (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.go2
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()
}