Sfoglia il codice sorgente

* Enumerator is unary operator

git-svn-id: trunk@34751 -
michael 8 anni fa
parent
commit
cfc8b0fd9e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/fcl-passrc/src/pastree.pp

+ 1 - 1
packages/fcl-passrc/src/pastree.pp

@@ -1358,7 +1358,7 @@ const
         '.');
 
 
-  UnaryOperators = [otImplicit,otExplicit,otAssign,otNegative,otPositive];
+  UnaryOperators = [otImplicit,otExplicit,otAssign,otNegative,otPositive,otEnumerator];
 
   OperatorTokens : Array[TOperatorType] of string
        =  ('','','','*','+','-','/','<','=',