Skip to content

Commit

Permalink
Fix returnAttribute rule in llvm grammar (#587)
Browse files Browse the repository at this point in the history
Signed-off-by: Hernan Ponce de Leon <[email protected]>
Co-authored-by: Hernan Ponce de Leon <[email protected]>
  • Loading branch information
hernanponcedeleon and hernan-poncedeleon authored Dec 6, 2023
1 parent 3efc7bc commit ebbb33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dartagnan/src/main/antlr4/LLVMIR.g4
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ gc: 'gc' StringLit;
prefix: 'prefix' typeConst;
prologue: 'prologue' typeConst;
personality: 'personality' typeConst;
returnAttribute: returnAttr | dereferenceable;
returnAttribute: returnAttr | dereferenceable | align;
funcBody: '{' basicBlock+ useListOrder* '}';
basicBlock: LabelIdent? instruction* terminator;
instruction: // Instructions producing values.
Expand Down

0 comments on commit ebbb33f

Please sign in to comment.