|
From: | Frans de Jonge |
Subject: | [bug-gettext] [bug #56794] Lua multiline string should ignore first newline |
Date: | Thu, 22 Aug 2019 04:10:11 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL: <https://savannah.gnu.org/bugs/?56794> Summary: Lua multiline string should ignore first newline Project: GNU gettext Submitted by: frenzie Submitted on: Thu 22 Aug 2019 10:10:09 AM CEST Category: Lua Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: In Lua, the following two strings are equivalent: [[one line]] [[ one line]] I've attached a simple testcase and a proof of concept patch that displays correct behavior. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 22 Aug 2019 10:10:09 AM CEST Name: multiline.lua Size: 148B By: frenzie <http://savannah.gnu.org/bugs/download.php?file_id=47378> ------------------------------------------------------- Date: Thu 22 Aug 2019 10:10:09 AM CEST Name: 0001-Ignore-first-newline-of-Lua-multiline-string.patch Size: 818B By: frenzie <http://savannah.gnu.org/bugs/download.php?file_id=47379> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56794> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |