properly match unconnected_drive directive. (Wen-jung Tseng)
This commit is contained in:
parent
583868e74e
commit
62d83e962a
|
|
@ -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.44 2000/03/12 17:09:41 steve Exp $"
|
#ident "$Id: lexor.lex,v 1.45 2000/06/27 04:36:29 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//# define YYSTYPE lexval
|
//# define YYSTYPE lexval
|
||||||
|
|
@ -107,6 +107,7 @@ W [ \t\b\f\r]+
|
||||||
<CSTRING>\n { BEGIN(0);
|
<CSTRING>\n { BEGIN(0);
|
||||||
yylval.text = strdup(yytext);
|
yylval.text = strdup(yytext);
|
||||||
VLerror(yylloc, "Missing close quote of string.");
|
VLerror(yylloc, "Missing close quote of string.");
|
||||||
|
yylloc.first_line += 1;
|
||||||
return STRING; }
|
return STRING; }
|
||||||
<CSTRING>\" { BEGIN(0);
|
<CSTRING>\" { BEGIN(0);
|
||||||
yylval.text = strdup(yytext);
|
yylval.text = strdup(yytext);
|
||||||
|
|
@ -238,11 +239,11 @@ W [ \t\b\f\r]+
|
||||||
^`endcelldefine{W}?.* { }
|
^`endcelldefine{W}?.* { }
|
||||||
^`endprotect{W}?.* { }
|
^`endprotect{W}?.* { }
|
||||||
^`nosuppress_faults{W}?.* { }
|
^`nosuppress_faults{W}?.* { }
|
||||||
^`nounconnected_drive{W}?* { }
|
^`nounconnected_drive{W}?.* { }
|
||||||
^`protect{W}?.* { }
|
^`protect{W}?.* { }
|
||||||
^`resetall{W}?.* { }
|
^`resetall{W}?.* { }
|
||||||
^`suppress_faults{W}?.* { }
|
^`suppress_faults{W}?.* { }
|
||||||
^`unconnected_drive{W}?* { }
|
^`unconnected_drive{W}?.* { }
|
||||||
^`uselib{W}?.* { }
|
^`uselib{W}?.* { }
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue