Martin Nowak:

The following would only require a minor syntax change.

auto codeaddr = &Label;
goto codeaddr + 0x10;

GotoStatement:
    goto Identifier ;
    goto Expression ; // NEW
    goto default ;
    goto case ;
    goto case Expression ;

You also need to support &Label, that currently is "Error:
undefined identifier Label".

Bye,
bearophile

Reply via email to