From 11067d9cc6593fd19cb44ecd3cd8c31b9b8b0f65 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 16 Mar 2012 02:39:42 -0500 Subject: Unexpected initial whitespace is an error (again) Fixes #565 --- src/textual.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/textual.cc') 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 '#': -- cgit v1.2.3