BNFC version: 2.9.6.3 Given the following `grammar.cf` file: ``` VQuery. Query ::= "hi" ; comment ";" ; entrypoints Query ; ``` running `bnfc --cpp -o output-cpp grammar.cf` gives a `Parser.H` file containing the following: ```cpp Query* pQuery(FILE *inp); Query* pQuery(const char *str); ``` where the second function should be called `psQuery` rather than `pQuery`. However, when running `bnfc --c -o output-c grammar.cf` the C backend gives the correct output: ```c Query pQuery(FILE *inp); Query psQuery(const char *str); ```
Activity