summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-javascript.c
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/src/x-javascript.c')
-rw-r--r--gettext-tools/src/x-javascript.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gettext-tools/src/x-javascript.c b/gettext-tools/src/x-javascript.c
index 45f67e2..237b68d 100644
--- a/gettext-tools/src/x-javascript.c
+++ b/gettext-tools/src/x-javascript.c
@@ -1204,6 +1204,7 @@ phase5_get (token_ty *tp)
{
int uc = phase7_getuc (quote_char);
+ /* Keep line_number in sync. */
bp->line_number = line_number;
if (uc == P7_EOF || uc == P7_STRING_END)