Open JBontes opened 6 years ago
Fix:
type TAttributeValue = (atAsm, atTrue, atFunction, atProcedure, atOperator, atClassOf, atClass, atConst, atConstructor, atDestructor, atEnum, atInterface, atNil, atNumeric, atOut, atPointer, atName, atString, atSubRange, atVar, atType{ExplicitType}, atObject, atSealed, atAbstract); procedure TPasSyntaxTreeBuilder.ClassFunctionHeading; begin if SameText(FLexer.Token,'operator') then FStack.Peek.SetAttribute(anKind, AttributeValues[atOperator]) else FStack.Peek.SetAttribute(anKind, AttributeValues[atFunction]); inherited; end;
Fix: