assert for invalid fileorigin
This commit is contained in:
parent
8497891b99
commit
5ae498872a
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ Expr * EvalState::parse(const char * text, FileOrigin origin,
|
||||||
data.file = data.symbols.create(text);
|
data.file = data.symbols.create(text);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw Error("invalid FileOrigin in parse");
|
assert(false);
|
||||||
}
|
}
|
||||||
data.basePath = basePath;
|
data.basePath = basePath;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue