mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 19:02:51 +00:00
22 lines
797 B
Text
22 lines
797 B
Text
To generate the Bison/Flex parser/scanner code after any changes to
|
|
holidayparserplan.ypp or holidayscannerplan.lpp run:
|
|
|
|
bison -d -o holidayparserplan.cpp holidayparserplan.ypp
|
|
flex -i -B -oholidayscannerplan.cpp holidayscannerplan.lpp
|
|
|
|
Do not add this to the build system as it may be broken by differences in the
|
|
installed versions of Bison and Flex on the build system.
|
|
|
|
The following files will be generated:
|
|
|
|
holidayparserplan.hpp
|
|
holidayparserplan.cpp
|
|
holidayscannerplan.hpp
|
|
holidayscannerplan.cpp
|
|
stack.hh
|
|
location.hh
|
|
position.hh
|
|
|
|
This version was built using Bison v2.3 and Flex v2.5.35. No later versions
|
|
are guaranteed to work. In particular, it uses v2.1a of the Bison C++
|
|
skeleton (lalr1.cc), this skeleton was changed and renamed in Bison v2.4.
|