# [PATCH] Possible parse error...

- Thread: https://externals.io/message/26091
- Original archive: https://news-web.php.net/php.internals/26091
- Started by Matt W on 2006-10-19T04:05:24+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #26091 — Matt W — 2006-10-19T04:05:24+00:00

URL: https://externals.io/message/26091#26091

Hi,

Probably not much chance of this happening, but while looking through HEAD's
lexer/parser code (which word is correct? :-)), I noticed that there's no
rule to match a backslash followed by a \n newline inside single quotes,
resulting in "Unexpected character in input ..."  The ST_SINGLE_QUOTE state
used to match this (as in 5.2), but was removed in version 1.132 of
zend_language_scanner.l.

Untested, but I think the attached patch should take care of it.


Matt
