Add KW
This commit is contained in:
parent
3a26a02661
commit
b70865071a
0
src/syntax/ast.rs
Normal file
0
src/syntax/ast.rs
Normal file
|
@ -1 +1,2 @@
|
||||||
|
pub mod ast;
|
||||||
pub mod token;
|
pub mod token;
|
||||||
|
|
|
@ -47,6 +47,7 @@ pub enum Token {
|
||||||
#[token("include")] Include,
|
#[token("include")] Include,
|
||||||
#[token("switch")] Switch,
|
#[token("switch")] Switch,
|
||||||
#[token("loop")] Loop,
|
#[token("loop")] Loop,
|
||||||
|
#[token("asm")] Asm,
|
||||||
|
|
||||||
#[regex(
|
#[regex(
|
||||||
r"\p{XID_Start}\p{XID_Continue}*",
|
r"\p{XID_Start}\p{XID_Continue}*",
|
||||||
|
|
Loading…
Reference in a new issue