make [ a whitespace character in scripts (Fixes #2126)

pull/366/head
Marc Zinnschlag 10 years ago
parent 5eb9fd81e1
commit 95dfb07816

@ -512,7 +512,8 @@ namespace Compiler
bool Scanner::isWhitespace (char c)
{
return c==' ' || c=='\t';
return c==' ' || c=='\t'
|| c=='['; ///< \todo disable this when doing more strict compiling
}
// constructor

Loading…
Cancel
Save