summaryrefslogtreecommitdiff
path: root/src/core/parser/ParserStack.cpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 19:21:50 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 19:21:50 +0100
commit9402e478ac1c4f1c8ae441a9e13e7e4cd3a0f46d (patch)
tree6425ac60033016a1addfa051b7ea350823b37cf8 /src/core/parser/ParserStack.cpp
parentf73201dbd764c6ec198f68edf8ade444576bc433 (diff)
added a todo for andreas. xml tags may contain :
Diffstat (limited to 'src/core/parser/ParserStack.cpp')
-rw-r--r--src/core/parser/ParserStack.cpp9
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("*");