help-java2html
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-java2html] single line comments and newlines


From: Lorenzo Bettini
Subject: Re: [Help-java2html] single line comments and newlines
Date: Wed, 04 Apr 2001 13:53:09 +0200

Robert Wetzel wrote:
> 
> Lorenzo Bettini wrote:
> 
> > OK, now I see the problem, and actually another solution could be to
> > "put the \n back" (lex can do it); however first I'll try your patch :-)
> 
> I thought about that, too. I tried yyless(0) instead of generate(yytext)
> which works just as fine. The difference between these two solutions
> is the handling of the newline. If the newline is returned to the input,
> it will be handled via generateNewLine() (and increases lineno).
> I don't know which behaviour better fits...

well, the line number should actually be increased (indeed there's one
person who's working on adding the generation of line numbering),
because it's a new line.

> 
> > thanks again
> 
> How it's spelled in Italian "It doesn't matter." ? :-)

in this case (that is the English "you're welcome" or "don't mention
it") it is "prego" or "non c'e' di che" :-)

ciao
        Lorenzo

-- 
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD student in Computer Science                    |
|  Florence - Italy         (Linux User # 158233)     |
|  Home Page        : http://w3.newnet.it/bettini     |
|           http://infostud.dsi.unifi.it/~bettini     |
|  Mail             : address@hidden            |
|  http://www.mokabyte.it       Java on line journal  |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://w3.newnet.it/bettini/purple     Cover Band  |
|  http://www.gnu.org/software/java2html & cpp2html   |
+-----------------------------------------------------+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]