Add 0? and 1? patterns to UDP syntax. (PR#137)

This commit is contained in:
steve 2001-02-07 01:08:21 +00:00
parent d6701803d1
commit 57d1bfaf29
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: lexor.lex,v 1.54 2000/12/12 06:13:44 steve Exp $" #ident "$Id: lexor.lex,v 1.55 2001/02/07 01:08:21 steve Exp $"
#endif #endif
//# define YYSTYPE lexval //# define YYSTYPE lexval
@ -159,8 +159,10 @@ W [ \t\b\f\r]+
<UDPTABLE>\(\?\?\) { return '*'; } <UDPTABLE>\(\?\?\) { return '*'; }
<UDPTABLE>\(01\) { return 'r'; } <UDPTABLE>\(01\) { return 'r'; }
<UDPTABLE>\(0[xX]\) { return 'P'; } <UDPTABLE>\(0[xX]\) { return 'P'; }
<UDPTABLE>\(0\?\) { return 'p'; }
<UDPTABLE>\(10\) { return 'f'; } <UDPTABLE>\(10\) { return 'f'; }
<UDPTABLE>\(1[xX]\) { return 'N'; } <UDPTABLE>\(1[xX]\) { return 'N'; }
<UDPTABLE>\(1\?\) { return 'n'; }
<UDPTABLE>\([xX]0\) { return 'F'; } <UDPTABLE>\([xX]0\) { return 'F'; }
<UDPTABLE>\([xX]1\) { return 'R'; } <UDPTABLE>\([xX]1\) { return 'R'; }
<UDPTABLE>[bB] { return 'b'; } <UDPTABLE>[bB] { return 'b'; }