From 23b1539bf90bfb6b35d9a2be0a2b6b1e311c1460 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 7 Apr 1999 12:11:08 +0000 Subject: Filters upgraded - a bit. Moved code to filter.c because it is where it belongs. (f-util.c stays there for auxiliary and non-important things.) --- conf/cf-lex.l | 2 +- conf/confbase.Y | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'conf') diff --git a/conf/cf-lex.l b/conf/cf-lex.l index b6b0df7..a9e7b54 100644 --- a/conf/cf-lex.l +++ b/conf/cf-lex.l @@ -103,7 +103,7 @@ WHITE [ \t] return SYM; } -[={}:;,()+*/%-] { +[={}:;,()+*/%-<>~] { return yytext[0]; } diff --git a/conf/confbase.Y b/conf/confbase.Y index 880b0df..0598d56 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -37,9 +37,10 @@ CF_DECLS %type expr bool pxlen -%left '=' +%nonassoc '=' '<' '>' %left '+' '-' %left '*' '/' '%' +%left '!' CF_KEYWORDS(DEFINE, ON, OFF, YES, NO) -- cgit v1.2.3