aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pogen/pogen.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/pogen/pogen.ts b/pogen/pogen.ts
index 32e786b0c..a622c9990 100644
--- a/pogen/pogen.ts
+++ b/pogen/pogen.ts
@@ -196,10 +196,10 @@ export function processFile(sourceFile: ts.SourceFile) {
if (ce.arguments[1].kind != ts.SyntaxKind.TaggedTemplateExpression) {
break;
}
- let comment = getComment(ce);
let {line} = ts.getLineAndCharacterOfPosition(sourceFile, ce.pos);
let t1 = processTaggedTemplateExpression(<ts.TaggedTemplateExpression>ce.arguments[0]);
let t2 = processTaggedTemplateExpression(<ts.TaggedTemplateExpression>ce.arguments[1]);
+ let comment = getComment(ce);
formatMsgComment(line, comment);
formatMsgLine("msgid", t1.template);