summaryrefslogtreecommitdiff
path: root/src/mir/from_hir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/from_hir.cpp')
-rw-r--r--src/mir/from_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/from_hir.cpp b/src/mir/from_hir.cpp
index bea8a38c..17de43c2 100644
--- a/src/mir/from_hir.cpp
+++ b/src/mir/from_hir.cpp
@@ -544,7 +544,7 @@ namespace {
// Outputs can also (sometimes) be rvalues (only for `*m`?)
for(auto& v : node.m_outputs) {
this->visit_node_ptr(v.value);
- if( v.spec[0] != '=' )
+ if( v.spec[0] != '=' && v.spec[0] != '+' ) // TODO: what does '+' mean?
ERROR(node.span(), E0000, "Assembly output specifiers must start with =");
::MIR::LValue lv;
if(v.spec[1] == '*')