Browse Source

* fix for "other" keyword

Michaël Van Canneyt 3 years ago
parent
commit
dfe78668c2
1 changed files with 1 additions and 1 deletions
  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);