Skip to content

Commit 04746d7

Browse files
committed
ast exporter: Remove ampersands from asm operand contraints
not doing so could lead to a double-ampersand being emitted, which is not correct see #382
1 parent d92a91b commit 04746d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c2rust-ast-exporter/src/AstExporter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,7 @@ class TranslateASTVisitor final
10751075
case '=':
10761076
case '+':
10771077
case '*':
1078+
case '&':
10781079
break;
10791080

10801081
case 'g':

0 commit comments

Comments
 (0)