diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-19 17:55:42 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-19 17:55:42 +0200 |
| commit | cf6f08d1602841f8c337dc64365e2dcde1e4c528 (patch) | |
| tree | 4e94b76fa7c035b2de9e983bab248063aef5a6b4 /src/root.zig | |
| parent | 25fa85cbb622e1f9dc9818b0d18fe0de2ef7e5a3 (diff) | |
fix(ast): error if title contains modifier
Diffstat (limited to 'src/root.zig')
| -rw-r--r-- | src/root.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/root.zig b/src/root.zig index bd183ff..830ba1c 100644 --- a/src/root.zig +++ b/src/root.zig @@ -9,6 +9,7 @@ fn getErrorCode(err: Error) u8 { Error.FeatureNotSupported => 3, Error.ModifierNotClosed => 4, Error.InvalidTitleContent => 5, + Error.IllegalPlacement => 6, }; } @@ -20,6 +21,7 @@ export fn getErrorString(code: u8) [*:0]const u8 { 3 => "feature not supported", 4 => "modifier not closed", 5 => "invalid title content", + 6 => "illegal placement", else => unreachable, }; } |
