Skip to content

Re-add if !condition with deprecation warning #113

Closed

Description

@trillllian

Turns out it was actually used by some patches.
Link to original code (for reference):

if (nextword[0][0]=='!')
{
//this part is not mentioned in the manual
unsigned int val=getnum(nextword[0]+1);
if (foundlabel) error(1, S"Label in "+lower(word[0])+" command");
thiscond=!(val>0);
}
else
{
unsigned int val=getnum(nextword[0]);
if (foundlabel) error(1, S"Label in "+lower(word[0])+" command");
thiscond=(val>0);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions