Re: [re2c-general] supporting Gnu-format error messages

2017-09-13 Thread Ulya Trofimovich
> I've run into a problem. > > In most places where options are already passed, they are passed as > 'const opt_t *opts'. However, that type does not contain 'source_file'; > 'source_file' is only in the higher level Opt type. > > So either I need to add an Opt arg to all the places that

Re: [re2c-general] supporting Gnu-format error messages

2017-09-13 Thread Stephen Leake
Ulya Trofimovich writes: >> I've run into a problem. >> >> In most places where options are already passed, they are passed as >> 'const opt_t *opts'. However, that type does not contain 'source_file'; >> 'source_file' is only in the higher level Opt type. >> >> So either I