parser: improve error message for missing } in attrset

Change-Id: I2846dbd8d0c1beb23c885a2d6d388a4f6a6a6964
This commit is contained in:
Qyriad
2025-11-25 19:50:24 +00:00
parent 6bb532ed03
commit 9f12981b30
6 changed files with 13 additions and 4 deletions
+1
View File
@@ -58,6 +58,7 @@ error_message_for(grammar::v1::t::kw_else) = "expecting 'else'";
error_message_for(grammar::v1::t::kw_in) = "expecting 'in'";
error_message_for(grammar::v1::d::t::binding) = "expecting ';' to end binding";
error_message_for(grammar::v1::d::t::inherit) = "expecting ';' to end 'inherit' bindings";
error_message_for(grammar::v1::d::t::attrs) = "expecting '}' to end attribute set";
struct SyntaxErrors
{