On 10/18/07, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Main problem I have right now after digging deeper is that any such "fix" in > the parser will mean that tokenizers and syntax highlighters will not treat > keywords like "import" correctly. Fixing this would require them to do > parsing which in many cases you don't want to do. There are a lot of > utilities and tools which depend on such behavior.
In my opinion, this is a problem with those syntax highlighters. This problem can be nicely solved and textmate is an example of that. It still relies on regular expressions, but it is context-aware I am definitely on "less keywords is better" side -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php