poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libpoke,testsuite: Fix strings to handle backslash and newli


From: Jose E. Marchesi
Subject: Re: [PATCH] libpoke,testsuite: Fix strings to handle backslash and newline chars
Date: Fri, 20 Nov 2020 18:18:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Mohammad.

> 2020-11-20  Mohammad-Reza Nabipoor  <m.nabipoor@yahoo.com>
>
>       * libpoke/pkl-lex.l (STRING): Fix regexp to escape backslash and
>       newline characters correctly.
>       * libpoke/pkl-trans.c (pkl_trans1_ps_string): Ignore `\<NEWLINE>`
>       escape sequence.
>       * testsuite/Makefile.am (EXTRA_DIST): Add new tests.
>       * testsuite/poke.pkl/string-diag-2.pk: New test.
>       * testsuite/poke.pkl/string-multiline-1.pk: Likewise.
>       * testsuite/poke.pkl/string-multiline-diag-1.pk: Likewise.

Very nice fix, and tests too! :)
This is OK for master.
Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]