aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-09 18:00:11 +0100
committerEdvard Thörnros <edvard.thornros@gmail.com>2021-02-09 18:00:11 +0100
commitd3daee70dc8f84a94f06d5f2e25fd11695be716c (patch)
tree433f2a2c24555b29241ddddd655290807247bc5a
parent8283faff92557387ab057bbc6f4f0c33e96dbcbf (diff)
downloadsylt-d3daee70dc8f84a94f06d5f2e25fd11695be716c.tar.gz
better "invalid function call" error
-rw-r--r--src/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index 34af10b..db79d65 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -638,7 +638,7 @@ impl Compiler {
}
_ => {
- error!(self, "Not a valid function call, expected a '!' or a '('.");
+ error!(self, "Invalid function call. Expected '!' or '('.");
}
}