diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/parser/ParserStack.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/parser/ParserStack.cpp b/src/core/parser/ParserStack.cpp index 0ab7a8e..1265851 100644 --- a/src/core/parser/ParserStack.cpp +++ b/src/core/parser/ParserStack.cpp @@ -153,10 +153,11 @@ void ParserStack::start(const std::string &name, Variant::mapType &args, const SourceLocation &location) { ParserState const *targetState = findTargetState(name); - if (!Utils::isIdentifier(name)) { - throw LoggableException(std::string("Invalid identifier \"") + name + - std::string("\"")); - } +// TODO: Andreas, please improve this. +// if (!Utils::isIdentifier(name)) { +// throw LoggableException(std::string("Invalid identifier \"") + name + +// std::string("\"")); +// } if (targetState == nullptr) { targetState = findTargetState("*"); |