Add support for device declaration expressions

This commit is contained in:
2024-11-29 19:57:44 -07:00
parent 1e0f986cf1
commit 548d826078
6 changed files with 65 additions and 1 deletions

View File

@@ -406,6 +406,7 @@ impl Tokenizer {
"enum" if next_ws!() => keyword!(Enum),
"import" if next_ws!() => keyword!(Import),
"export" if next_ws!() => keyword!(Export),
"device" if next_ws!() => keyword!(Device),
// boolean literals
"true" if next_ws!() => {