From 7b5b5c2f399d0b6b80d3e61c800815554384cc6a Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 5 Mar 2000 06:14:10 +0000 Subject: [PATCH] Handle mixed case in UDP edges. --- lexor.lex | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lexor.lex b/lexor.lex index 69214758f..de510f274 100644 --- a/lexor.lex +++ b/lexor.lex @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: lexor.lex,v 1.42 2000/02/23 02:56:54 steve Exp $" +#ident "$Id: lexor.lex,v 1.43 2000/03/05 06:14:10 steve Exp $" #endif //# define YYSTYPE lexval @@ -114,16 +114,16 @@ W [ \t\b\f\r]+ return STRING; } . { yymore(); } -\(\?0\) { return '_'; } -\(\?1\) { return '+'; } -\(\?x\) { return '%'; } -\(\?\?\) { return '*'; } -\(01\) { return 'r'; } -\(0x\) { return 'P'; } -\(10\) { return 'f'; } -\(1x\) { return 'N'; } -\(x0\) { return 'F'; } -\(x1\) { return 'R'; } +\(\?0\) { return '_'; } +\(\?1\) { return '+'; } +\(\?[xX]\) { return '%'; } +\(\?\?\) { return '*'; } +\(01\) { return 'r'; } +\(0[xX]\) { return 'P'; } +\(10\) { return 'f'; } +\(1[xX]\) { return 'N'; } +\([xX]0\) { return 'F'; } +\([xX]1\) { return 'R'; } [bB] { return 'b'; } [fF] { return 'f'; } [rR] { return 'r'; }