aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-03-07 23:16:51 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-03-07 23:28:11 +0100
commit294d304768dad5fca5f9844500c7003cd9f9ed8b (patch)
tree470e025076101b751716192bfefcbc85e2f8ad5f /src/compiler.rs
parente39ff44d87fbbd04bad6b28a7ce3a4c1147547cb (diff)
downloadsylt-294d304768dad5fca5f9844500c7003cd9f9ed8b.tar.gz
cleanup comment
Diffstat (limited to 'src/compiler.rs')
-rw-r--r--src/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index 17c6330..46fe38c 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -51,7 +51,7 @@ macro_rules! parse_branch {
let num_errors = $compiler.errors.len();
let mut stored_errors = Vec::new();
- // Closures for early return on success.
+ // Loop for early return on success.
let success = loop {
// We risk getting a lot of errors if we are in an invalid state
// when we start the parse.