]> granicus.if.org Git - yasm/commitdiff
return [ and ] characters
authorMichael Urman <mu@tortall.net>
Sat, 16 Mar 2002 20:59:04 +0000 (20:59 -0000)
committerMichael Urman <mu@tortall.net>
Sat, 16 Mar 2002 20:59:04 +0000 (20:59 -0000)
svn path=/trunk/yasm/; revision=503

modules/preprocs/yapp/yapp-token.l
src/preprocs/yapp/yapp-token.l

index 9521126e1a37b0c41b794e7266a69ec68877cb54..9099790146c813b467b881c739a6c5d1de10bc00 100644 (file)
@@ -283,7 +283,7 @@ DIR  %[ \t]*
 
 \n     { line_number++; return '\n'; }
 
-[-+*/,()] { return yytext[0]; }
+[][+*/,()-] { return yytext[0]; }
 
 .      {
     Warning(_("ignoring unrecognized character `%s'"),
index 9521126e1a37b0c41b794e7266a69ec68877cb54..9099790146c813b467b881c739a6c5d1de10bc00 100644 (file)
@@ -283,7 +283,7 @@ DIR  %[ \t]*
 
 \n     { line_number++; return '\n'; }
 
-[-+*/,()] { return yytext[0]; }
+[][+*/,()-] { return yytext[0]; }
 
 .      {
     Warning(_("ignoring unrecognized character `%s'"),