Re: Question about adding new wisent grammar pieces

Lee Hinman <[email protected]> Thu, 26 Jan 2017 10:11:17 -0700
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
Eric Ludlam writes:

> The parser (for the .wy file) failed on the [ ] in the above line. You
> can tell if you enable tag decoration mode because the overline was
> missing.
>
> I'm not sure what you are trying to do with [] or {} as I'm not that
> familiar with this part of Java. Do you mean to use LBRACE or LBRACK
> instead? See definitions at beginning of java.wy.

Ahh okay, I was using [] as the grammar definition of zero-or-one (and
also using {} for its grammar definition). I've changed these to be
actual optional grammar definitions and everything is compiling now.

Thanks!

--
;; Lee

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot