From f51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 25 Feb 2016 07:39:25 -0800 Subject: 2701 - turn some warnings into errors I really have only one warning left: when somebody redefines a function. I think I'm going to just turn that into an error as well and drop the notion of warnings altogether. Anytime we find something wrong we stop running the program. This is a place where hygiene is justified. --- 040brace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '040brace.cc') diff --git a/040brace.cc b/040brace.cc index 735cdab3..5d9dc189 100644 --- a/040brace.cc +++ b/040brace.cc @@ -61,7 +61,7 @@ void transform_braces(const recipe_ordinal r) { } if (inst.label == "}") { if (open_braces.empty()) { - raise << "missing '{' in " << get(Recipe, r).name << '\n' << end(); + raise_error << "missing '{' in " << get(Recipe, r).name << '\n' << end(); return; } open_braces.pop(); -- cgit 1.4.1-2-gfad0