#22 %ROTATE doesn't check for count

closed-fixed
None
5
2002-06-11
2002-05-27
Anonymous
No

In preproc.c, the PP_ROTATE code needs to check
whether a count was specified or not.

case PP_ROTATE:
if (tline->next && tline->next->type ==
TOK_WHITESPACE)
tline = tline->next;
| if (!tline->next) {
| error(ERR_NONFATAL, "`%%rotate' expects a
rotate count");
| return 3;
}
t = expand_smacro(tline->next);
...

Discussion

  • Ed Beroset

    Ed Beroset - 2002-06-11
    • assigned_to: nobody --> beroset
     
  • Ed Beroset

    Ed Beroset - 2002-06-11
    • status: open --> open-fixed
     
  • Ed Beroset

    Ed Beroset - 2002-06-11
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.