use constants for True and False instead of tokens
This commit is contained in:
parent
a216d9af41
commit
53adeacc6d
5 changed files with 25 additions and 19 deletions
|
|
@ -26,6 +26,9 @@ const (
|
|||
NUMBER Token_t = iota
|
||||
SYMBOL Token_t = iota
|
||||
BOOL Token_t = iota
|
||||
|
||||
TRUE string = "T"
|
||||
FALSE string = "F"
|
||||
)
|
||||
|
||||
type Token struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue