Skip to content

Commit

Permalink
Java: fix double semicolon (;;) after an $io.substream() call
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Oct 15, 2023
1 parent 7493e66 commit e9ed1c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ class JavaCompiler(typeProvider: ClassTypeProvider, config: RuntimeConfig)

override def createSubstreamFixedSize(id: Identifier, blt: BytesLimitType, io: String, rep: RepeatSpec, defEndian: Option[FixedEndian]): String = {
val ioName = idToStr(IoStorageIdentifier(id))
handleAssignmentTempVar(KaitaiStreamType, ioName, s"$io.substream(${translator.translate(blt.size)});")
handleAssignmentTempVar(KaitaiStreamType, ioName, s"$io.substream(${translator.translate(blt.size)})")
ioName
}

Expand Down

0 comments on commit e9ed1c2

Please sign in to comment.