|Implementing multi-line comments, other characters.. email@example.com (2002-06-28)|
|Re: Implementing multi-line comments, other characters.. firstname.lastname@example.org (Nick Maclaren) (2002-07-02)|
|Re: Implementing multi-line comments, other characters.. Marko.Makela@HUT.FI (Marko =?ISO-8859-1?Q?M=E4kel=E4?=) (2002-07-02)|
|Date:||28 Jun 2002 18:42:30 -0400|
|Posted-Date:||28 Jun 2002 18:42:30 EDT|
I'm developing a BASIC compiler in C++ and in my reading object
(Reading.h), it checks for the next word to see if it is an
identifier, white space, etc.
I'm trying to implement characters like ņ to be used. I put that under
identifier, but still if you do something in let's say John.bas
It'll give an error (implemented in my errors object). What the
console box does is show a + over a - instead of ņ. Then, it says +
over - is not an identifier or anything else, so it is a bad
Also, I want to allow multi-line comments to be used in a BASIC file,
but I'm not sure how to implement this. If you need to see some code
to understand, I can provide it.
Return to the
Search the comp.compilers archives again.