Commit 5aebe938 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 702170 - Missing space before optional option in method argument list

parent a7da2bd6
...@@ -1727,7 +1727,7 @@ nextChar: ...@@ -1727,7 +1727,7 @@ nextChar:
growBuf.addChar('>'); growBuf.addChar('>');
} }
else if (i>0 && c==',' && !isspace((uchar)s.at(i-1)) else if (i>0 && c==',' && !isspace((uchar)s.at(i-1))
&& ((i<l-1 && isId(s.at(i+1))) && ((i<l-1 && (isId(s.at(i+1)) || s.at(i+1)=='[')) // the [ is for attributes (see bug702170)
|| (i<l-2 && s.at(i+1)=='$' && isId(s.at(i+2))) // for PHP || (i<l-2 && s.at(i+1)=='$' && isId(s.at(i+2))) // for PHP
|| (i<l-3 && s.at(i+1)=='&' && s.at(i+2)=='$' && isId(s.at(i+3))))) // for PHP || (i<l-3 && s.at(i+1)=='&' && s.at(i+2)=='$' && isId(s.at(i+3))))) // for PHP
{ {
......
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