generated from rnentjes/kotlin-server-web-undertow
Remove legacy JVM-specific file system, shell, and related implementations; migrate to platform-agnostic and common main modules.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package mtmc.asm.instructions
|
||||
|
||||
import mtmc.asm.Assembler
|
||||
import mtmc.tokenizer.MTMCToken
|
||||
|
||||
class ErrorInstruction(
|
||||
labels: List<MTMCToken>,
|
||||
instruction: MTMCToken,
|
||||
error: String
|
||||
) : Instruction(
|
||||
InstructionType.ERROR,
|
||||
labels,
|
||||
instruction
|
||||
) {
|
||||
|
||||
init {
|
||||
addError(instruction, error)
|
||||
}
|
||||
|
||||
override fun genCode(output: ByteArray, assembler: Assembler) {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user