Skip to content

Commit 44a9f06

Browse files
author
Derek Hower
committed
Fix crd_doc generator to match changes in arch def
interface
1 parent 486e58f commit 44a9f06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backends/crd_doc/tasks.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Dir.glob("#{$root}/arch/crd/*.yaml") do |f|
2222
"gen:arch"
2323
] do |t|
2424
# TODO: schema validation
25-
arch_def = arch_def_for("_")
25+
arch_def = arch_def_for("_64")
2626
crd = arch_def.crd(crd_name)
2727
raise "No CRD defined for #{crd_name}" if crd.nil?
2828

backends/crd_doc/templates/crd.adoc.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ RV64::
446446
<%- if inst.key?("operation()") -%>
447447
[source,idl,subs="specialchars,macros"]
448448
----
449-
<%= inst.operation_ast(crd.arch_def.idl_compiler).gen_adoc %>
449+
<%= inst.operation_ast(crd.arch_def.symtab).gen_adoc %>
450450
----
451451
<%- end -%>
452452

0 commit comments

Comments
 (0)