Handle - and _ in target names.

This commit is contained in:
steve 2000-10-28 17:51:01 +00:00
parent 6962841546
commit 427de3ab0b
1 changed files with 2 additions and 2 deletions

View File

@ -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.1 2000/10/08 22:36:56 steve Exp $"
#ident "$Id: lexor.lex,v 1.2 2000/10/28 17:51:01 steve Exp $"
#endif
# include <string.h>
@ -44,7 +44,7 @@
<CTOKENS>"-S" { return CT_S; }
<CTOKENS>"-t"[a-zA-Z0-9]+ {
<CTOKENS>"-t"[a-zA-Z0-9\-_]+ {
yylval.text = strdup(yytext+2);
return CT_t; }