aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c.cpp b/src/c.cpp
index c4cd397..41fabb0 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -123,7 +123,7 @@ CEngine::llType(const AST* t)
ret->append("}*");
return ret;
}
- throw Error(t->loc, string("Unknown compiled type `") + t->str() + "'");
+ throw RespError(t->loc, string("Unknown compiled type `") + t->str() + "'");
return NULL;
}