gnupic: gpasm-0.10.4 alpha error messages


Previous by date: 13 Nov 2002 19:27:59 -0000 Bullet proof bulk email friendly hosting & cheap mass email campaigns., d54676
Next by date: 13 Nov 2002 19:27:59 -0000 banksel macro, Antonio A Todo Bom
Previous in thread:
Next in thread: 13 Nov 2002 19:27:59 -0000 Re: gpasm-0.10.4 alpha error messages, Craig Franklin

Subject: gpasm-0.10.4 alpha error messages
From: Andy ####@####.####
Date: 13 Nov 2002 19:27:59 -0000
Message-Id: <200211131921.34513.andy@bytewyse.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I came across a difference between gpasm-0.10.4 and MPASM 3.20 and thought I 
would solicit your comments on it.

The line that caused me problems was:

		GOTO	FOO
		.
		.
		.

FOO		MOVLW	A'F

Note the missing closing quote

gpasm generated the following error:

work/pcr1k/pcr1k01b.asm:854:Error [113] Symbol not previously defined (FOO).
work/pcr1k/pcr1k01b.asm:856:Error [103] parse error

This error message sent me of in completely the wrong direction because 
initially I didn't spot the missing quote while focussing on the error 
message.

After a frustrating few minutes where I couldn't find any error associated 
with the label FOO I decided to boot my Windows system and run MPLAB to see 
if the same message was generated.

MPLAB generated a warning rather than an error and helpfully pointed out that 
I was missing the quote.

Now I can accept that the error message generated by gpsim is partially 
correct in that it is a parse error because the line is syntactically 
incomplete but I was wondering if it would be possible to modify gpasm to 
parse lines better and generate more helpful error messages in the way that 
MPLAB does?

Regards


Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE90qY7M2rS5Ija6/cRAgkyAKDMwuxQBhhFXgkqUEelbE+pZ8biQgCfZis+
m3sWCTC+lWs9ptRq3r9Oj7k=
=6h7f
-----END PGP SIGNATURE-----


Previous by date: 13 Nov 2002 19:27:59 -0000 Bullet proof bulk email friendly hosting & cheap mass email campaigns., d54676
Next by date: 13 Nov 2002 19:27:59 -0000 banksel macro, Antonio A Todo Bom
Previous in thread:
Next in thread: 13 Nov 2002 19:27:59 -0000 Re: gpasm-0.10.4 alpha error messages, Craig Franklin


Powered by ezmlm-browse 0.20.