aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tccpp.c b/tccpp.c
index 779aa42..52ebefa 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -94,6 +94,11 @@ ST_FUNC void skip(int c)
next();
}
+ST_FUNC void expect(const char *msg)
+{
+ error("%s expected", msg);
+}
+
/* ------------------------------------------------------------------------- */
/* CString handling */
static void cstr_realloc(CString *cstr, int new_size)