The former Yugoslav Republic of Macedonia
GENERAL PART
2. A CRIME AND CRIMINAL RESPONSIBILITY
2.3. Accessory in crime Joint perpetration
Limits of criminal responsibility and possibility of punishing the accomplices
Article 25
(2) The joint offender, instigator or accessory that voluntarily prevented the perpetration of a crime may be acquitted from punishment. This is also applicable in the case of preparation of a crime, regardless whether it is determined by law as a special crime, or whether the law prescribes as punishable the preparation of a certain crime (article 8 item 2).
EDIT.