The yyparse/yylex interface seems rather strange to me.
After yyparse() accepts an mKR proposition,
yylex() has to give yyparse() an "extra" integer(0) token
to make yyparse() exit
so yyparse() can be called again to accept another proposition.
If yylex() just starts on the next proposition,
yyparse() gives an immediate syntax error and aborts.
When I say "accept", I mean that the action associated with
the proposition rule is executed.
P.S. After accepting an mKR proposition, yystate is &null.
Dick McCullough
Context Knowledge Systems
What is your view?
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group