aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index 69ce39a..9f9d6ef 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -1737,7 +1737,8 @@ impl Compiler {
(None, ..) => {}
(a, b, c) => {
- panic!(format!("Unknown outer token sequence: {:?} {:?} {:?}", a, b, c));
+ let msg = format!("Unknown outer token sequence: {:?} {:?} {:?}", a, b, c);
+ error!(self, msg);
}
}
}