[bug #68441] Entering "x ..." causes Octave to become unresponsive
"Dmitri A. Sergatskov" <[email protected]> Fri, 12 Jun 2026 16:32:59 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Follow-up Comment #8, bug #68441 (group octave):
Besides '\001' and `static_cast<char>(1)` sometimes is also just `int`:
1892 {
1893 curr_lexer->xunput (yytext[0]);
1894
1895 int c = curr_lexer->text_yyinput ();
1896
1897 if (c == 1)
1898 return -1;
1899 else if (c == EOF)
1900 return curr_lexer->handle_end_of_input ();
Perhaps that should be changed too to `c == '\001'`
(char literal promotes to int 1)
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68441>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaixs+wAKCRCqLAuaBUf3 Tpu+AP9t4Jf5jfOsB5/eUMigHIKhDyvHKxLyBhLkAQovglimogD9FQaTCgMMTDS/ RZy9M7GBb8DoC3HFowj6xix2s3CQhQI= =etqp -----END PGP SIGNATURE-----