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

[lojban] Re: Official Parser: mi .eparoibo do broda



Robin Lee Powell scripsit:

> On the other hand, the grammar says that "mi .eparoibo do broda" should
> parse.

Aaaah, at last one I understand and can fix.  The big switch statement
starting at line 168 of lexruleo.c is a guard which prevents the complex
and heavily backtracking tense grammar from being started if the first
word can't possibly be part of a tense.  Unfortunately, PA_672 is not
in this list, so if a simple_tag starts with PA, it won't be parsed.
So just add after line 168 the line "PA_672:" and recompile.  Don't re-run
yacc, or Ghu only knows what will happen.

-- 
"Take two turkeys, one goose, four              John Cowan
cabbages, but no duck, and mix them             http://www.ccil.org/~cowan
together. After one taste, you'll duck          jcowan@reutershealth.com
soup the rest of your life."                    http://www.reutershealth.com
        --Groucho


To unsubscribe, send mail to lojban-unsubscribe@onelist.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/lojban/

<*> To unsubscribe from this group, send an email to:
     lojban-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/