From: Daiki Ueno Date: Thu, 18 Apr 2013 10:49:09 +0000 (+0900) Subject: Minor fixes for the JavaScript support. X-Git-Tag: v0.18.3~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700f69a4f1688bd0039aeedcb273d0c9903ea063;p=thirdparty%2Fgettext.git Minor fixes for the JavaScript support. --- diff --git a/gettext-tools/src/x-javascript.c b/gettext-tools/src/x-javascript.c index 312f3f632..095a38404 100644 --- a/gettext-tools/src/x-javascript.c +++ b/gettext-tools/src/x-javascript.c @@ -1401,9 +1401,7 @@ phase5_unget (token_ty *tp) } -/* Combine adjacent strings to form a single string. Note that the end - of a logical line appears as a token of its own, therefore strings that - belong to different logical lines will not be concatenated. */ +/* String concatenation with '+'. */ static void x_javascript_lex (token_ty *tp) diff --git a/gettext-tools/tests/format-javascript-1 b/gettext-tools/tests/format-javascript-1 old mode 100644 new mode 100755 diff --git a/gettext-tools/tests/format-javascript-2 b/gettext-tools/tests/format-javascript-2 old mode 100644 new mode 100755