zarfDLL.c(103) : Error: invalid simple type name destructor
not proficient at re's - this is a typical for my compiler, need to focus on what I am working on .... will try a regex to capture line number to show some work:
In Configure | Preferences | Tools | <Your tool>
set something similar to
Regular expression to match output: ^([a-z0-9]+\.[ch])\(([0-9]+)\)
Registers: File: 1 Line: 2
The regex contains two sets of capturing parentheses. They are numbered from the left, starting at 1, by the positions of the opening parentheses. The "register" numbered n holds the text that was matched by the nth parenthesised regular subexpression.
Okay, I think I grasp what is going on. Attempted a rewrite which I will try both this and what you posted. The first capture is any allowable filename under win, but the compiler only recognize dot c and dot cpp ( or h && hxx ) so the approach I took was first group is anything not opening paren in compiler std out, then try to get past that paren and capture line number in second grouping.
^\([^(]+\)\(?(\)\([0-9]+\)
^ ^ ^ ^
| | | | second grouping, for line number
| | | close "there but do not capture"
| | there but do not capture
| one or more not paren
I will try this and what you posted.
My apologies again, let me know if this is clearer post. I had just lost the machine totally and was coming back up, trying to continue working during system recovery.
* ^[^0-9]+(\([0-9]+\)
* ^([a-z0-9]+\.[c])\(([0-9]+)\)
* ^([a-z0-9]+\.[ch])(\([0-9]+\))
* Here's a corrected version of your regex:
* ^([^(]+)\(([0-9]+)\)
Those are directly from using the comments field in the source file as a fast short buffer. I have tried all of the above and am getting some jumps, about 20% or so it goes to the line number - I am considering trying to turn off trasparent dialog boxes in xp as clearly that calls into 16-bit non-renetrant code as does the tool output window, I am getting some builds and better jumps would be adjunct to coding effectiveness.
What are the messages from your compiler that you are having trouble with?
I'm afraid I'm unclear what transparent dialogue boxes and 16-bit non-re-entrant code have to do with this problem, and I don't know what an adjunct to coding effectiveness is.
zarfDLL.c(103) : Error: invalid simple type name destructor
is exactly the syntax I am trying to captue. Filename(line number) - enable hyper-jumps, in this example on line 103 of file zarfDLL.c an error is being reported "invalid simple type name destructor"
As for the other two matters, the name of this tool I am building "zarf" is a coffee holder for coffee that is too hot to handle so though it seems simple to me please disreguard the other two comments by me.