Commit c06cdf16 authored by Ralf Habacker's avatar Ralf Habacker

Add initial support for more complex include pathes.

Finishing requires
- a simple parser to be able to parse something
  like 'dirname(__FILE__)."/config.php"' and
- a global variable list for been able to parse something
  like '$afw_root."/config.php"'.
parent 11215f12
......@@ -87,6 +87,8 @@ public:
tokenString = m_content.mid(begin, end-begin+1);
if (tokenString.startsWith("(\"") || tokenString.startsWith("('"))
tokenString = tokenString.mid(2, tokenString.size() - 4);
else if (tokenString.startsWith("("))
tokenString = tokenString.mid(1, tokenString.size() - 2);
qDebug() << "-------------------include ----- " << tokenString;
if (!m_dependencies->contains(tokenString))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment