00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KHOLIDAYS_HOLIDAYSCANNERPLAN_P_H
00023 #define KHOLIDAYS_HOLIDAYSCANNERPLAN_P_H
00024
00025
00026
00027
00028 #ifndef YY_DECL
00029
00030 #define YY_DECL \
00031 KHolidays::HolidayParserPlan::token_type \
00032 KHolidays::HolidayScannerPlan::lex( \
00033 KHolidays::HolidayParserPlan::semantic_type* yylval, \
00034 KHolidays::HolidayParserPlan::location_type* yylloc \
00035 )
00036 #endif
00037
00038 #ifndef __FLEX_LEXER_H
00039 #define yyFlexLexer HolidayScannerFlexLexer
00040 #include "FlexLexer.h"
00041 #undef yyFlexLexer
00042 #endif
00043
00044 #include "holidayparserplan.hpp"
00045
00046 namespace KHolidays {
00047
00063 class HolidayScannerPlan : public HolidayScannerFlexLexer
00064 {
00065 public:
00066 HolidayScannerPlan(std::istream* arg_yyin = 0, std::ostream* arg_yyout = 0);
00067
00068 virtual ~HolidayScannerPlan();
00069
00070 virtual HolidayParserPlan::token_type lex( HolidayParserPlan::semantic_type* yylval,
00071 HolidayParserPlan::location_type* yylloc );
00072
00073 void set_debug(bool b);
00074 };
00075
00076 }
00077
00078 #endif // KHOLIDAYS_HOLIDAYSCANNERPLAN_P_H