Re: Minor typo in error message
"'Martin Eden' via lua-l" <[email protected]> Mon, 13 Jul 2026 06:07:47 +0200
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
On 2026-07-12 21:27, Roberto Ierusalimschy wrote: > The closing quote is not part of the invalid escape sequence, why it > must be in the error message? Note that the closing quote can be > quite far away, or it may not even exist: > > [...] > > Lua stops reading as soon as it finds an error. Thank you for clarification, Roberto. Now I understood that error message is from lexer which just prints single quote, read buffer contents, single quote. Was distracted by single quotes in my case. =C2=A0 > "kinda long too\999a" =C2=A0 stdin:1: decimal escape too large near '"kinda long too\999a' -- Martin --=20 You received this message because you are subscribed to the Google Groups "= lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/2423a= cfb-7123-487a-9db2-70f3022a6f82%40disroot.org.