From 258a6a4bd347aef9ac26e84672c7c4cc57420d1f Mon Sep 17 00:00:00 2001 From: Dominic Grimm Date: Fri, 17 Jun 2022 18:53:38 +0200 Subject: [PATCH] Fixed bug in doc generator --- src/hence/firmware/documentation.md.ecr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hence/firmware/documentation.md.ecr b/src/hence/firmware/documentation.md.ecr index 693d6a4..048d5b7 100644 --- a/src/hence/firmware/documentation.md.ecr +++ b/src/hence/firmware/documentation.md.ecr @@ -29,7 +29,7 @@ Opcode | Name <% output = " " + output unless output.blank? -%> Opcode | Argument | Stack ---|---|--- -`0x<%= sorted_opcodes.find! { |opc| opc[1].name == opcode.name }[0].to_s(16).rjust(2, '0') %>` | <%= opcode.arg && "`#{opcode.arg}`" %> | <%= (opcode.stack.input.size > 0 && opcode.stack.output.size > 0) ? "`#{input}--#{output}`" : nil %> +`0x<%= sorted_opcodes.find! { |opc| opc[1].name == opcode.name }[0].to_s(16).rjust(2, '0') %>` | <%= opcode.arg && "`#{opcode.arg}`" %> | <%= (opcode.stack.input.size > 0 || opcode.stack.output.size > 0) ? "`#{input}--#{output}`" : nil %> <%- if opcode.example -%> ```gnuassembler