Skip to content

Identifier names generated by clightgen produce syntax error  #370

@akinanop

Description

@akinanop

Version 3.7 of clightgen produces names that cannot be compiled with Coq 8.11.2:

Definition _t'-1181243039470217951 : ident := -822504032%positive.

To reproduce:
git clone https://github.com/vlm/asn1c.git
clightgen asn1c/skeletons/BOOLEAN.c -I asn1c/skeletons/ -normalize -fstruct-passing -flongdouble -o BOOLEAN.v

Couldn't reproduce on smaller examples, I guess the issue comes up in big functions when many temporary variables are introduced.

BOOLEAN.v

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions