Re: Production 21 (and others)

> "<!--*"([-*]|("-"("*""-"?)*[-*])|(("*""-"?)+[-*]))*("*"|"-*")+"-->"

Sigh... would that one could use exclusive start starts in the 
grammar...

In an actual flex scanner, one would probably do something like:

  %x comment
  %%
  "<--*"       BEGIN(comment);
  <comment>.
  "*-->"       BEGIN(INITIAL);

Received on Wednesday, 29 January 1997 09:54:02 UTC