Add token for goto
This commit is contained in:
parent
d9923fd762
commit
41672a7125
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,8 @@ pub enum Token {
|
|||
NativeReplication,
|
||||
|
||||
// # Control-flow keywords
|
||||
#[regex("(?i)goto")]
|
||||
Goto,
|
||||
#[regex("(?i)if")]
|
||||
If,
|
||||
#[regex("(?i)else")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue