Allow underscores, dashes, and digits in identifiers

This commit is contained in:
Yoshi Askharoun
2024-02-10 21:37:12 -06:00
parent 3329591b5a
commit 93fa998caa
5 changed files with 28 additions and 12 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ public class Assembly(ITestOutputHelper output)
.import-ns Me as me
.import-ns assembly://UIX/Microsoft.Iris as iris
.import-type iris:Command
.import-type Int32
.section data
@@ -40,7 +41,7 @@ main:
output.WriteLine(ast.ToString());
Assert.NotNull(ast);
Assert.Equal(3 + 1 + 2, ast.Directives.Count());
Assert.Equal(3 + 2 + 2, ast.Directives.Count());
Assert.Equal(9, ast.Body.Count());
}