Skip to content

Commit c89c2cf

Browse files
committed
Keep NumberLiterals in the processed Patterns
1 parent 9ff6b4c commit c89c2cf

File tree

1 file changed

+0
-7
lines changed
  • fluent.syntax/src/main/kotlin/org/projectfluent/syntax/processor

1 file changed

+0
-7
lines changed

fluent.syntax/src/main/kotlin/org/projectfluent/syntax/processor/Processor.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ class Processor {
4444
}
4545
is Placeable -> {
4646
when (val expression = element.expression) {
47-
is NumberLiteral -> {
48-
val content = expression.value
49-
if (lastText == null) {
50-
lastText = TextElement("")
51-
}
52-
lastText?.let { it.value += content }
53-
}
5447
is StringLiteral -> {
5548
var content = expression.value
5649
content = special.replace(content) { m -> unescape(m) }

0 commit comments

Comments
 (0)