We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
absolute
var x: integer; y: integer absolute x;
The absolute is not recorded. and the x is recorded as if it was a value assigned to the variable.
x
The fix:
procedure TPasSyntaxTreeBuilder.VarAbsolute; var AbsoluteNode: TSyntaxNode; ValueNode: TSyntaxNode; begin AbsoluteNode:= TSyntaxNode.Create(ntUnknown); FStack.Push(AbsoluteNode); try inherited; finally FStack.Pop; ValueNode:= AbsoluteNode.ExtractChild(AbsoluteNode.ChildNode[0]); ValueNode.Attribute[anKind]:= AttributeValues[atAbsolute]; AbsoluteNode.Free; FStack.Peek.AddChild(ValueNode); end; end;
The text was updated successfully, but these errors were encountered:
RomanYankovsky#253 support absolute and RomanYankovsky#252 part2
23637da
No branches or pull requests
The
absolute
is not recorded. and thex
is recorded as if it was a value assigned to the variable.The fix:
The text was updated successfully, but these errors were encountered: