Hi! >> a) Character count (at line 456, character 23) >> >> b) Quote either the remainder or the parsed section on the line (MySQL >> quotes the remainder, for example) >> >> c) Quote the whole line with an indicator where the error occurred. I'm >> not sure what the best way to do this would be - generically this could >> be encapsulated in several values: The line content, token start >> character count, token length / end character count >> > > I really like the combination of A + C. After using php for 13 years the
If we could do the same as, for example, clang does: just display some indication where the problem happened within the code, with the line that caused it. Certainly not displaying internal token names, unless I am debugging the parser they are useless. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php