REgular Expression for assembler output
Posted: Sun May 26, 2013 5:42 pm
My assembler's error messages look like the following(wiznetolduino.asm is the filename and 20 is the line number)
I've developed the following RE which works with find/replace
i.e. if i replace the RE with \1 I get the filename wiznetolduino.asm and if i replace with \2 I get the line number 20
In the tool output with file register=1 and line register=2 I get
The C:\lcc42\examples\wiznet\ part is the current path but it seems to be substituting the line from the beginning for the file register.
What am I doing wrong? I'm using textpad 6 and I have the posix box checked.
Code: Select all
> > >wiznetwebolduino.asm(20) CCALL(2): error: symbol undefined I've developed the following RE which works with find/replace
Code: Select all
^> > >([a-z]+\.asm)\(([0-9]+)In the tool output with file register=1 and line register=2 I get
Code: Select all
C:\lcc42\examples\wiznet\> > >wiznetolduino.asm(20) CCALL contains an incorrect pathWhat am I doing wrong? I'm using textpad 6 and I have the posix box checked.