From c946f27d9bc141320abb25cc74309944d214f14f Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 14 Sep 2005 15:01:07 +0000 Subject: [PATCH] Add b0 and b1 edges to parser. --- lexor.lex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lexor.lex b/lexor.lex index 629aeb265..a2718de45 100644 --- a/lexor.lex +++ b/lexor.lex @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: lexor.lex,v 1.87 2005/07/07 16:22:49 steve Exp $" +#ident "$Id: lexor.lex,v 1.88 2005/09/14 15:01:07 steve Exp $" #endif # include "config.h" @@ -179,6 +179,8 @@ W [ \t\b\f\r]+ \(01\) { return 'r'; } \(0[xX]\) { return 'Q'; } \(b[xX]\) { return 'q'; } +\(b0\) { return 'f'; /* b0 is 10|00, but only 10 is meaningful */} +\(b1\) { return 'r'; /* b1 is 11|01, but only 01 is meaningful */} \(0\?\) { return 'P'; } \(10\) { return 'f'; } \(1[xX]\) { return 'M'; }