Enhancing and adding regular expressions for compiler output parsing:
- Enhanced 'Preprocessor warning' such that, e.g., bison errors are captured:
- file name regex simplified, but coping with special treatment of colon used as a delimiter in the error string, too (examples: 'C:\' and 'C:/' on Windows, ':fileinthisdir' and path delimiter '::' on Classic Mac OS). More details: https://en.wikipedia.org/wiki/Path_(computing)
- enhanced and unified line number recognition where - if provided - '1' is chosen in each of the examples below:
- 1
- 1:2
- 1:2-3
- 1:2-2:3
- (void)
- added regex for GNUMake Error. NOTE: please check the field 'msg1' which I simply guessed. Not sure if this is correct.
The fixes coud be applied to other regex'es in options_commom_re.xml, hence could reduce the number of them. If you deem the patch applicable, happy to go through options_commom_re.xml to propose a patch. Just let me know if helpful.
Thanks - Win10 with CB svn 11112
J.
Update - patch still against svn 11112:
added location syntax lineno.colno to lineno:colno
enhanced additional GNUmake warning syntax