diff options
Diffstat (limited to 'src/zisp/io/Parser.zig')
| -rw-r--r-- | src/zisp/io/Parser.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zisp/io/Parser.zig b/src/zisp/io/Parser.zig index 0b1a6c7..3a610dd 100644 --- a/src/zisp/io/Parser.zig +++ b/src/zisp/io/Parser.zig @@ -805,14 +805,14 @@ fn checkBlank(p: *Parser, c: u8) !enum { yes, skip_unit, no } { } } -fn isSpecialBareChar(c: u8) bool { +pub fn isSpecialBareChar(c: u8) bool { return switch (c) { '+', '-', '.', ':', '0'...'9' => true, else => false, }; } -fn isBareChar(c: u8) bool { +pub fn isBareChar(c: u8) bool { return switch (c) { // zig fmt: off 'a'...'z' , 'A'...'Z' , '0'...'9' , '!' , '$' , '%' , '*' , |
