Use flex by default.
Fix bug in new sstring code.
CFLAGS=
CC=gcc
+LEX=flex
@sinclude@ @includel@$(INCPATH)settings.mk@includel@
#define MAX_STR_CONST 512
-/* shuts gcc up */
-static void yyunput (int c,char *buf_ptr);
-void newsearch_parser_dummy(void) {
- yyunput(0, NULL);
-}
-
-int fileno(void *arg) {
- return 0;
-}
-
%}
digit [0-9]
stackpos--;
count = stackcount[stackpos];
- pfn = functionfinder(str, fnfarg);
+ pfn = functionfinder(str->content, fnfarg);
if(!pfn) {
parse_free(&sresult);
YYERROR;