mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-12 22:39:31 -06:00
rewrote SentenseChi.AdvSlash to prevent looping with unknown tokens ; the rule is right, but the cause of looping should be found
This commit is contained in:
@@ -24,9 +24,10 @@ concrete SentenceChi of Sentence = CatChi **
|
||||
|
||||
|
||||
-- yet another reason for discontinuity of clauses
|
||||
AdvSlash slash adv =
|
||||
mkClauseCompl slash.np <insertAdv adv slash.vp : VP> []
|
||||
** {c2 = slash.c2} ;
|
||||
AdvSlash slash adv = slash ** {vp = insertAdv adv slash.vp} ;
|
||||
---- parser loops with unknown tokens if this version is used AR 20/4/2014
|
||||
---- mkClauseCompl slash.np <insertAdv adv slash.vp : VP> []
|
||||
---- ** {c2 = slash.c2} ;
|
||||
|
||||
SlashPrep cl prep = cl ** {c2 = prep} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user