Skip to content

Commit

Permalink
Noop lex reordering of the token types
Browse files Browse the repository at this point in the history
  • Loading branch information
rhartert committed May 29, 2024
1 parent d2102bf commit d0f580a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 58 deletions.
50 changes: 25 additions & 25 deletions fzn/tok/tok.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,38 @@ type Type int

const (
Error Type = iota
EOF
Comment
Of
IntLit
Identifier
Var
AnnStart
Array
ArrayEnd
ArrayStart
Assign
BoolLit
BoolType
Colon
Comma
Comment
Constraint
Predicate
Solve
EOF
EOI
FloatLit
FloatType
Identifier
IntLit
IntType
Maximize
Minimize
BoolType
IntType
FloatType
Set
Of
Predicate
Range
Colon
SetStart
Satisfy
Set
SetEnd
ArrayStart
ArrayEnd
TupleStart
TupleEnd
Comma
AnnStart
Assign
BoolLit
FloatLit
SetStart
Solve
StringLit
Satisfy
EOI
TupleEnd
TupleStart
Var
)

type Token struct {
Expand Down
66 changes: 33 additions & 33 deletions fzn/tok/type_string.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d0f580a

Please sign in to comment.