fbb-git / flexcpp

Flexc++ is a scanner generator like flex, but it generates C++ code
31 stars 11 forks source link

Fixed a compiler warning / error in the debug function generator when… #6

Open kiplingw opened 7 years ago

kiplingw commented 7 years ago

Fixed a compiler warning / error in the debug function generator when unused variables are treated as such. This occurs when GCC builds with -Werror=unused-parameter.

kiplingw commented 7 years ago

Fixed Generator::conflicts() choking on white space in user implementation header.

fbb-git commented 7 years ago

Dear Kip, you wrote:

Fixed Generator::conflicts() choking on white space in user implementation header.

Thanks, I'll process your suggestions in the next release.

-- Frank B. Brokken Center for Information Technology, University of Groningen (+31) 50 363 9281 Public PGP key: http://pgp.surfnet.nl Key Fingerprint: DF32 13DE B156 7732 E65E 3B4D 7DB2 A8BE EAE4 D8AA

kiplingw commented 7 years ago

Right on. Thanks Frank. I haven't had a chance to look in bisonc++(1) source yet to see how it scans existing source to see if there is a similar issue.

kiplingw commented 7 years ago

Fixes Input::Input(std::istream *iStream, size_t lineNr) not detecting bad input stream.