Skip to content

Commit

Permalink
Fix #381: including stdio.h in parser.h (C++ NOSTL)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Sep 16, 2021
1 parent 5eaa767 commit 7d8ca45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Andreas Abel <[email protected]>

* BNFC now uniformly signs generated files with its version number [#373]
* C/C++: include `stdio.h` in parser header files [#381]
* C++: fixed parser regression in 2.9.2: missing `#include <algorithm>` [#377]
* Ocaml: lex CR as whitespace [see also #376]

Expand Down
1 change: 1 addition & 0 deletions source/src/BNFC/Backend/CPP/NoSTL.hs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ mkHeaderFile _cf _cats eps _env = unlines $ concat
[ [ "#ifndef PARSER_HEADER_FILE"
, "#define PARSER_HEADER_FILE"
, ""
, "#include <stdio.h>"
, "#include \"Absyn.H\""
, ""
]
Expand Down

0 comments on commit 7d8ca45

Please sign in to comment.