summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 7d96310a..e7c523d9 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -337,9 +337,8 @@ void instance_t::read_next_directive()
break;
case ' ':
- case '\t': {
- break;
- }
+ case '\t':
+ throw parse_error(_("Unexpected whitespace at beginning of line"));
case ';': // comments
case '#':