diff options
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index a8abbfb..a6a5a83 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -392,7 +392,8 @@ namespace build2 { f = &parser::parse_switch; } - else if (n == "case") + else if (n == "case" || + n == "default") { // Valid ones are handled in parse_switch(). // |