Skip to content

Commit

Permalink
Introduce Token struct
Browse files Browse the repository at this point in the history
  • Loading branch information
DQNEO committed Aug 24, 2019
1 parent 0298d2c commit 066f98a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ func ungetChar() {
sourceIndex--
}

type Token struct {
kind string // "intliteral"
value string
}

func main() {
var source []byte
Expand Down

0 comments on commit 066f98a

Please sign in to comment.