From 0c45e33c1b8d094353a5585c44179d1818ff6e1e Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Tue, 6 Jul 2021 17:45:15 +0000 Subject: Group clauses into predicates, and create all valid choicepoints at once. This is wastefull if one branch loops forever, but it is much nicer otherwise, since we know the choicepoints only gets created as long as their head is unifiable with the goal. --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.c') diff --git a/parser.c b/parser.c index 0acf3b6..172475e 100644 --- a/parser.c +++ b/parser.c @@ -660,4 +660,4 @@ syntaxerror_parser(char *where) { print("Syntax error: Unexpected %d (%S) token in %s\n", lookahead.tag, lookahead.text, where); exits("syntax error"); -} \ No newline at end of file +} -- cgit v1.2.3