From 2c051baa0b279bb40e0ab854089e9b72a5e2105b Mon Sep 17 00:00:00 2001 From: Michael Urman Date: Sat, 16 Mar 2002 20:59:04 +0000 Subject: [PATCH] return [ and ] characters svn path=/trunk/yasm/; revision=503 --- modules/preprocs/yapp/yapp-token.l | 2 +- src/preprocs/yapp/yapp-token.l | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/preprocs/yapp/yapp-token.l b/modules/preprocs/yapp/yapp-token.l index 9521126e..90997901 100644 --- a/modules/preprocs/yapp/yapp-token.l +++ b/modules/preprocs/yapp/yapp-token.l @@ -283,7 +283,7 @@ DIR %[ \t]* \n { line_number++; return '\n'; } -[-+*/,()] { return yytext[0]; } +[][+*/,()-] { return yytext[0]; } . { Warning(_("ignoring unrecognized character `%s'"), diff --git a/src/preprocs/yapp/yapp-token.l b/src/preprocs/yapp/yapp-token.l index 9521126e..90997901 100644 --- a/src/preprocs/yapp/yapp-token.l +++ b/src/preprocs/yapp/yapp-token.l @@ -283,7 +283,7 @@ DIR %[ \t]* \n { line_number++; return '\n'; } -[-+*/,()] { return yytext[0]; } +[][+*/,()-] { return yytext[0]; } . { Warning(_("ignoring unrecognized character `%s'"),