Browse Source

* Enumerator is unary operator

git-svn-id: trunk@34751 -
michael 8 years ago
parent
commit
cfc8b0fd9e
1 changed files with 1 additions and 1 deletions
  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
   OperatorTokens : Array[TOperatorType] of string
        =  ('','','','*','+','-','/','<','=',
        =  ('','','','*','+','-','/','<','=',