diff --git a/Parser.pas b/Parser.pas index 834ebfa..5adc4c0 100644 --- a/Parser.pas +++ b/Parser.pas @@ -1508,14 +1508,7 @@ var NextToken; varargs := true; done2 := true; - end {if} - else if token.kind = dotch then begin - NextToken; - Match(dotch,89); - Match(dotch,89); - varargs := true; - done2 := true; - end; {else if} + end; {if} end {if} else done2 := true; diff --git a/Scanner.pas b/Scanner.pas index 3cb93f9..7dd0032 100644 --- a/Scanner.pas +++ b/Scanner.pas @@ -2579,21 +2579,8 @@ var done := false; end; {if} end {if} - else if token.kind in [dotch,dotdotdotsy] then begin - if token.kind = dotdotdotsy then - NextToken - else begin - NextToken; - if token.kind = dotch then begin - NextToken; - if token.kind = dotch then - NextToken - else - Error(89); - end - else - Error(89); - end; {else} + else if token.kind = dotdotdotsy then begin + NextToken; new(np); np^.next := nil; np^.str := '__VA_ARGS__';