diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-10-15 12:57:43 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-10-15 12:57:43 +1300 |
commit | e010ea0cc5e3e8ec210d5e469ad4a41296fc4d50 (patch) | |
tree | 6f6c9ca05b7b579e41d3b92a711ea0374e07a21d /src | |
parent | 971163fa899c1816af065d71b841fe963cc66632 (diff) | |
download | torque-asm-e010ea0cc5e3e8ec210d5e469ad4a41296fc4d50.zip |
Remove string-style argument syntax from error message
The string-style argument syntax is no longer supported, it has been
replaced with a list-style syntax (using square brackets instead of
double-quotes).
Diffstat (limited to 'src')
-rw-r--r-- | src/stages/semantic_tokens.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stages/semantic_tokens.rs b/src/stages/semantic_tokens.rs index 7aa6093..69c6c98 100644 --- a/src/stages/semantic_tokens.rs +++ b/src/stages/semantic_tokens.rs @@ -211,7 +211,7 @@ fn report_semantic_error(error: &Tracked<SemanticError>, source_code: &str) { &format!("A string value was expected {location}"), SemanticError::InvalidArgumentDefinition => - "Argument definition must take one of the following forms: name, {name}, \"name\", or [name]", + "Argument definition must take one of the following forms: name, {name}, or [name]", SemanticError::InvalidInvocationArgument => "This token cannot be used in an invocation argument", SemanticError::InvalidBlockInExpression => |