Sfoglia il codice sorgente

* fix for "other" keyword

Michaël Van Canneyt 3 anni fa
parent
commit
dfe78668c2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);