Skip to content

C backend assumes that user of header file includes stdio.h #381

@enedil

Description

@enedil

In the C backend, none of the generated headers include any header from standard library. This is wrong, as Parser.h uses FILE*, which is defined in stdio.h. Thus, stdio.h should be also included.

BNFC version that I use: 2.9.1.
OS: Fedora 34
BNFC distribution: stack

Metadata

Metadata

Assignees

Labels

CparserIssues concerning parser generating

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions