From d429cc581af4dd6f726357446e98f92e090e04ba Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 27 Mar 1995 12:49:51 +0000 Subject: [PATCH] Removed CFLAGS def. Bug fix (compile error when USE_GNU_REGEX=0). --- fml/Makefile | 4 ++-- fml/fmlstr.c | 9 ++++++--- fml/tempo.fml | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/fml/Makefile b/fml/Makefile index 3826a24..00ee88c 100644 --- a/fml/Makefile +++ b/fml/Makefile @@ -1,11 +1,11 @@ # FML interpreter. Europagate, 1995 # -# $Id: Makefile,v 1.13 1995/03/01 14:31:23 adam Exp $ +# $Id: Makefile,v 1.14 1995/03/27 12:49:51 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. $(REGEXINC) TPROG1=fmltest -CFLAGS=-g -Wall -pedantic +#CFLAGS=-g -Wall -pedantic CPP=$(CC) -E DEFS=$(INCLUDE) -DUSE_GNU_REGEX=1 LIB=../lib/fml.a diff --git a/fml/fmlstr.c b/fml/fmlstr.c index 2bfda57..968ab97 100644 --- a/fml/fmlstr.c +++ b/fml/fmlstr.c @@ -2,7 +2,10 @@ * FML interpreter. Europagate, 1995 * * $Log: fmlstr.c,v $ - * Revision 1.5 1995/03/02 08:06:07 adam + * Revision 1.6 1995/03/27 12:49:51 adam + * Removed CFLAGS def. Bug fix (compile error when USE_GNU_REGEX=0). + * + * Revision 1.5 1995/03/02 08:06:07 adam * Fml function strsub implemented. New test files marc[45].fml. * New test options in fmltest. * @@ -86,8 +89,6 @@ static int fml_reg_match (struct reg_cache *reg_pat, const char *str) return 0; } -#endif - static struct fml_node *fml_exec_match (Fml fml, struct fml_node **lp, struct token *tp) { @@ -129,6 +130,8 @@ static struct fml_node *fml_exec_match (Fml fml, struct fml_node **lp, return NULL; } +#endif + static struct fml_node *fml_exec_strlen (Fml fml, struct fml_node **lp, struct token *tp) { diff --git a/fml/tempo.fml b/fml/tempo.fml index a7be712..40caae9 100644 --- a/fml/tempo.fml +++ b/fml/tempo.fml @@ -1,6 +1,6 @@ # FML tempo test # -# $Id: tempo.fml,v 1.4 1995/02/23 08:32:08 adam Exp $ +# $Id: tempo.fml,v 1.5 1995/03/27 12:49:51 adam Exp $ \set x 1 \set max 10000 -\while {\x \lt \max} {\incr \x} +\while {\x \lt 10000} {\incr \x} -- 1.7.10.4