fix acceptance of invalid syntax, update iso_conformity_tests.pl (#2270)
This commit is contained in:
@@ -885,11 +885,7 @@ impl<'a, R: CharRead> Parser<'a, R> {
|
||||
.push(Term::Literal(Cell::default(), Literal::Atom(atom)));
|
||||
}
|
||||
|
||||
self.stack[idx].spec = if self.stack[idx].priority > 0 {
|
||||
TERM
|
||||
} else {
|
||||
BTERM
|
||||
};
|
||||
self.stack[idx].spec = BTERM;
|
||||
self.stack[idx].tt = TokenType::Term;
|
||||
self.stack[idx].priority = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user