diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-15 23:29:19 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-15 23:29:19 -0800 |
commit | 4b424bb2451621f05d2a22af8ae2f323da128ba3 (patch) | |
tree | f1475608e78c712051e8adc753d03e2992f0e199 /038new_text.cc | |
parent | 195a846b8ca7b5360c7d19d5d29746f0cee27576 (diff) | |
download | mu-4b424bb2451621f05d2a22af8ae2f323da128ba3.tar.gz |
3678 - complain about string labels
Thanks Jack Couch for running into this.
Diffstat (limited to '038new_text.cc')
-rw-r--r-- | 038new_text.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/038new_text.cc b/038new_text.cc index 2bda16cf..493c1b50 100644 --- a/038new_text.cc +++ b/038new_text.cc @@ -62,6 +62,15 @@ int new_mu_text(const string& contents) { return result; } +//: a new kind of typo + +:(scenario string_literal_without_instruction) +% Hide_errors = true; +def main [ + [abc] +] ++error: main: instruction '[abc]' has no recipe + //: stash recognizes strings :(scenario stash_string) |