Exact match. Not showing close matches.
PICList
Thread
'[PIC]: MPASM Regular Expression. Please help!'
2002\08\13@221427
by
Thomas N
Hello everyone,
I am trying to compile the .ASM code under Textpad. I was able to run
the compiler correctly. However, when I double-click on the error
message, a message pops up with:
Unmatched '( or {'
I think it has something to do with the Regular Expression (RE) setting.
This is what I have:
^.*\([a-zA-Z]:[^]+\)\([0-9]+\]):
The typical error message is:
Error[113] C:\TEST\MAIN.ASM 31 : Symbol not previously defined (XDFA)
I know my Regular Expression is wrong! How do I make it so that it
matches the error (or warning) message so that when I double-click on
the error message, the cursor goes to the error line?
Thank you in advance!
Best regards,
Thomas
--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuT
mitvma.mit.edu with SET PICList DIGEST in the body
2002\08\13@235225
by
Andrew Thoms
Hi,
I use the following with file=2 line=3
^\([a-z]+\)\[[0-9]+\][ ]+\([0-9a-z:\\~. ]+.ASM\) \([0-9]+\)
hope it helps
Andrew
{Original Message removed}
2002\08\14@010628
by
Thomas N
2002\08\14@041511
by
Thomas N
Hi Andrew,
After extensive testing, the program doesn't quite work perfectly. The
problem is, if the error is in the current .asm file that it is being
compiled, then the double-click event will bring the cursor to the
correct error location. However, if the current .asm file include some
other .asm files and the error happen to be on the included files, then
the double-click event on the error message has no effect. Any
solution?
Best regards,
Thomas
{Original Message removed}
2002\08\15@053237
by
Diego Sierra
Hi!
I am glad to hear that at last it works :-)
> correct error location. However, if the current .asm file include some
> other .asm files and the error happen to be on the included files, then
> the double-click event on the error message has no effect.
It should work the correct way with the configuration I gave you, i.e., it
should open the file with the error in it. If not there still be something
wrong with the regexp.
BTW, do not quote *all* the message in your reply, just the needed parts.
Bye,
Diego.
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
More... (looser matching)
- Last day of these posts
- In 2002
, 2003 only
- Today
- New search...