Make #no_capture map to nocapture
This commit is contained in:
1 parent
3dff83f3dc
commit
5ce6676914
1 file changed
+3
@@ -253,6 +253,9 @@ gb_internal lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool i
|
|||||||
if (e->flags&EntityFlag_NoAlias) {
|
if (e->flags&EntityFlag_NoAlias) {
|
||||||
lb_add_proc_attribute_at_index(p, offset+parameter_index, "noalias");
|
lb_add_proc_attribute_at_index(p, offset+parameter_index, "noalias");
|
||||||
}
|
}
|
||||||
|
if (e->flags&EntityFlag_NoCapture) {
|
||||||
|
lb_add_proc_attribute_at_index(p, offset+parameter_index, "nocapture");
|
||||||
|
}
|
||||||
parameter_index += 1;
|
parameter_index += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user