Selaa lähdekoodia

* fix for "other" keyword

Michaël Van Canneyt 3 vuotta sitten
vanhempi
commit
dfe78668c2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/webidl/src/webidlparser.pp

+ 1 - 1
packages/webidl/src/webidlparser.pp

@@ -354,7 +354,7 @@ begin
       Result.HasEllipsis:=True;
       GetToken;
       end;
-    CheckCurrentToken(tkIdentifier);
+    CheckCurrentTokens([tkIdentifier,tkOther]);
     Result.Name:=CurrentTokenString;
   except
     MaybeFree(Result,aParent);