better detect syntax errors in lexer.rs (#1771)
This commit is contained in:
@@ -193,6 +193,7 @@ get_single_char(C) :-
|
||||
% ```
|
||||
read_from_chars(Chars, Term) :-
|
||||
must_be(chars, Chars),
|
||||
must_be(var, Term),
|
||||
'$read_term_from_chars'(Chars, Term).
|
||||
|
||||
%% write_term_to_chars(+Term, +Options, -Chars).
|
||||
|
||||
Reference in New Issue
Block a user