From 4b424bb2451621f05d2a22af8ae2f323da128ba3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 15 Nov 2016 23:29:19 -0800 Subject: 3678 - complain about string labels Thanks Jack Couch for running into this. --- 038new_text.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '038new_text.cc') 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) -- cgit 1.4.1-2-gfad0