SmaCC generating empty class categories

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SmaCC generating empty class categories

Simon Guest-2
I've just started playing with SmaCC, and while I'm quite impressed
overall, I did hit this annoyance.  The auto-generated classes have a
class category of '', i.e. empty string.

I suspect this isn't really allowed.  It certainly stops the Whisker
browser from working.  (But is that a bug in Whisker or SmaCC?)

When I moved the generated classes to my own category, it left an
empty category behind, still called '', and still breaking Whisker.

To fix this, I clicked reorganize in the category list in a browser,
and then deleted the single line ('') in the lower pane which
corresponded to this duff category.  (Is this what reorganize is for?)

I'm left wondering what to report as broken, and where.  (Are all
components of Squeak tracked on Mantis?)

cheers,
Simon

Reply | Threaded
Open this post in threaded view
|

Re: SmaCC generating empty class categories

Lukas Renggli
> I'm left wondering what to report as broken, and where.  (Are all
> components of Squeak tracked on Mantis?)

Actually this happens only the first time you create a parser, if no
scanner and parser class exists yet. As soon as the classes are there
they will stay in the same category whenever you re-create the
scanner/parser.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch