+2007-02-20 [colin] 2.7.2cvs56
+
+ * autogen.sh
+ * src/matcher_parser_parse.y
+ * src/matcher_parser_lex.l
+ Fix big memory leak in flex, and
+ require flex 2.5.31
+
2007-02-20 [wwp] 2.7.2cvs55
* src/matcher_parser_parse.y
fi
# ***** end W32 build script *******
+bisonver=`bison --version`
+
+if [ "$bisonver" = "" ]; then
+ echo Bison is needed to compile Claws Mail CVS
+ exit 1
+fi
+
+flexver=`flex --version|sed "s/.* //"`
+
+if [ "$flexver" = "" ]; then
+ echo Flex 2.5.31 or greater is needed to compile Claws Mail CVS
+ exit 1
+else
+ flex_major=`echo $flexver|sed "s/\..*//"`
+ flex_minor=`echo $flexver|sed "s/$flex_major\.\(.*\)\..*/\1/"`
+ flex_micro=`echo $flexver|sed "s/$flex_major\.$flex_minor\.\(.*\)/\1/"`
+ if [ $flex_major -lt 2 -o $flex_minor -lt 5 -o $flex_micro -lt 31 ]; then
+ echo Flex 2.5.31 or greater is needed to compile Claws Mail CVS
+ exit 1
+ fi
+fi
+
aclocal -I m4 \
&& libtoolize --force --copy \
void matcher_parser_init(void);
void matcher_parser_switch_to_buffer(void * new_buffer);
void matcher_parser_delete_buffer(void * b);
+void matcher_parserpop_buffer_state(void);
int matcher_parserlex(void);
void matcher_parser_start_parsing(FILE *f)
matcher_parserlineno = 1;
matcher_parse_op = MATCHER_PARSE_NO_EOL;
matcher_parserrestart(NULL);
+ matcher_parserpop_buffer_state();
matcher_parser_init();
bufstate = matcher_parser_scan_string((const char *) tmp_str);
matcher_parser_switch_to_buffer(bufstate);
matcher_parserlineno = 1;
matcher_parse_op = MATCHER_PARSE_NAME;
matcher_parserrestart(NULL);
+ matcher_parserpop_buffer_state();
matcher_parser_init();
bufstate = matcher_parser_scan_string(str);
matcher_parserparse();
matcher_parserlineno = 1;
matcher_parse_op = MATCHER_PARSE_ENABLED;
matcher_parserrestart(NULL);
+ matcher_parserpop_buffer_state();
matcher_parser_init();
bufstate = matcher_parser_scan_string(str);
matcher_parserparse();
matcher_parserlineno = 1;
matcher_parse_op = MATCHER_PARSE_ACCOUNT;
matcher_parserrestart(NULL);
+ matcher_parserpop_buffer_state();
matcher_parser_init();
bufstate = matcher_parser_scan_string(str);
matcher_parserparse();
matcher_parserlineno = 1;
matcher_parse_op = MATCHER_PARSE_CONDITION;
matcher_parserrestart(NULL);
+ matcher_parserpop_buffer_state();
matcher_parser_init();
bufstate = matcher_parser_scan_string(str);
matcher_parserparse();
matcher_parserlineno = 1;
matcher_parse_op = MATCHER_PARSE_FILTERING_ACTION;
matcher_parserrestart(NULL);
+ matcher_parserpop_buffer_state();
matcher_parser_init();
bufstate = matcher_parser_scan_string(str);
matcher_parserparse();