diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-25 07:39:25 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-25 07:46:56 -0800 |
commit | f51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff (patch) | |
tree | 4730fc0e0e69e8537686730a7a233d84b54f0266 /040brace.cc | |
parent | b5ab709c53d3f8464e6358678a3c57a1fc6e64b8 (diff) | |
download | mu-f51e9f63b40ce3d5c4d40808bf1b7e83ab7d60ff.tar.gz |
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.
Diffstat (limited to '040brace.cc')
-rw-r--r-- | 040brace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |