summaryrefslogtreecommitdiff
path: root/src/stages/syntactic_tokens.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-03-25 11:04:02 +1300
committerBen Bridle <ben@derelict.engineering>2025-03-25 11:04:02 +1300
commit34904ce10610d8b08126b6a1cd730878348f1083 (patch)
tree89a58d283c8db6678a8aeb096bacf767c597e3d3 /src/stages/syntactic_tokens.rs
parent448e6f93d4ac6ae4b592d2dc8c3f98230f196e6a (diff)
downloadbedrock-asm-34904ce10610d8b08126b6a1cd730878348f1083.zip
Improve wording of error messages
Diffstat (limited to 'src/stages/syntactic_tokens.rs')
-rw-r--r--src/stages/syntactic_tokens.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stages/syntactic_tokens.rs b/src/stages/syntactic_tokens.rs
index 57e78e7..4c258c6 100644
--- a/src/stages/syntactic_tokens.rs
+++ b/src/stages/syntactic_tokens.rs
@@ -50,7 +50,7 @@ fn report_syntactic_error(error: &Tracked<SyntacticError>, source_code: &str) {
let context = Context { source_code: &source_code, source: &error.source };
let message = match &error.value {
SyntacticError::UnterminatedBlock =>
- "Block was not terminated, add a '}}' character to terminate",
+ "Block was not terminated, add a '}' character to terminate",
SyntacticError::UnterminatedComment =>
"Comment was not terminated, add a ')' character to terminate",
SyntacticError::UnterminatedRawString =>