Searching \ for '[PIC]: MPASM Regular Expression. Please help!' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=asm
Search entire site for: 'MPASM Regular Expression. Please help!'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: MPASM Regular Expression. Please help!'
2002\08\13@221427 by Thomas N

picon face
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_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body


2002\08\13@235225 by Andrew Thoms

flavicon
face
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

picon face
Dear Andrew!

It works!  Thank you very very much!

Best regards!
Thomas

-----Original Message-----
From: pic microcontroller discussion list
[.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU] On Behalf Of Andrew Thoms
Sent: Tuesday, August 13, 2002 8:52 PM
To: PICLISTspamKILLspamMITVMA.MIT.EDU
Subject: Re: [PIC]: MPASM Regular Expression. Please help!

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-----
From: Thomas N [.....thomasn101KILLspamspam.....HOTMAIL.COM]
Sent: Wednesday, 14 August 2002 12:12 PM
To: EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU
Subject: [PIC]: MPASM Regular Expression. Please help!

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 listservspamspam_OUTmitvma.mit.edu with SET PICList DIGEST in the body

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email @spam@listservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu


2002\08\14@041511 by Thomas N

picon face
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
flavicon
face
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...