Commit bfb0cf40 by Thomas Bachem

Fixed parsing of method calls which I broke accidentally

Breaking commit: 137ced89
parent 84499314
...@@ -2268,6 +2268,10 @@ class Dwoo_Compiler implements Dwoo_ICompiler ...@@ -2268,6 +2268,10 @@ class Dwoo_Compiler implements Dwoo_ICompiler
break; break;
} }
if(!preg_match('/^([a-z0-9_]+)(\(.*?\))?/i', substr($methodCall, $ptr), $methMatch)) {
break;
}
if (empty($methMatch[2])) { if (empty($methMatch[2])) {
// property // property
if ($curBlock === 'root') { if ($curBlock === 'root') {
......
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