Subject: Re: bug#36068: 27.0.50; Warning: unescaped character literals `?)' detected, `?\)' expected!

From: Andreas Schwab <[email-masked]>
Date: Mon, 03 Jun 2019 19:04:17 +0200

On Jun 03 2019, Eli Zaretskii <[email-masked]> wrote:

>> From: [email-masked]
>> Date: Mon, 03 Jun 2019 09:50:47 -0400
>> Cc: [email-masked], Noam Postavsky <[email-masked]>
>> 
>> Ah, I think the problem can be triggered any time you `read' an unescaped
>> literal outside of `load'.  E.g., from emacs -Q:
>> 
>>     M-: (read "?)") RET
>> 
>> or even just
>> 
>>     M-: ?) RET
>> 
>> Now any byte-compilation will report unescaped `?)'.
>
> Maybe we should forcefully set it to nil at top level?

But how can load_warn_unescaped_character_literals be called while
lread--unescaped-character-literals is not let-bound?

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."