aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index 472b33c2f..878f06c96 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -584,7 +584,7 @@ Expr * EvalState::parse(const char * text, FileOrigin origin,
data.file = data.symbols.create(text);
break;
default:
- throw Error("invalid FileOrigin in parse");
+ assert(false);
}
data.basePath = basePath;