[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnubol: Free-form problem
It is column dependent :-( so the lex has to do new states at newline
etc.
I think I did have the right idea, except I appear to have invented the
notion that a 'period space' can also end a comment-entry, I can't find
it anywhere in the standard.
Tim Josling
Chad Slaughter wrote:
>
> Michael McKernan wrote :>
> >
> >Well, I've reached my first impasse, but I trust if I had later
> >materials, I might know what to do. I've been trying to compose the
>
> nope you wouldnt. This is a major problem.
>
> >I can put together this rather ugly hack to approximate the rule, but
> >I had to exclude the paragraph and division names from comment-entry.
>
> the only way to do it is look for the next division header which marks the
> end of the ident div.
>
> >Which says to eat all the tokens that are not in the ID_PARA_END
> >list. This is obviously the wrong strategy.
> >
> >What's the right answer?
>
> there isnt one.
>
> And I thin Tim has the right idea on this one.
>
> --
> Chad Slaughter -- slaught at advancenet.net
>
> --
> This message was sent through the gnu-cobol mailing list. To remove yourself
> from this mailing list, send a message to majordomo@lusars.net with the
> words "unsubscribe gnu-cobol" in the message body. For more information on
> the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.
--
This message was sent through the gnu-cobol mailing list. To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body. For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.