parser.cxx

changeset 64
dc5db6335601
parent 62
824ab7b28e3c
child 65
ec04357f5bb9
equal deleted inserted replaced
63:0557babc8675 64:dc5db6335601
676 MustNext (); 676 MustNext ();
677 677
678 int curarg = 0; 678 int curarg = 0;
679 while (1) { 679 while (1) {
680 if (!token.compare (")")) { 680 if (!token.compare (")")) {
681 if (curarg < comm->numargs - 1) 681 if (curarg < comm->numargs)
682 ParserError ("too few arguments passed to %s\n", comm->name.chars()); 682 ParserError ("too few arguments passed to %s\n", comm->name.chars());
683 break; 683 break;
684 curarg++; 684 curarg++;
685 } 685 }
686 686

mercurial