fix backtracking in syntax error.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@595 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
89565bf45a
commit
39a825e85f
@ -494,11 +494,11 @@ print_message(Level, Mss) :-
|
||||
'$format'(user_error," ~s ", [S]).
|
||||
'$dump_error_token'(string(S)) :- !,
|
||||
'$format'(user_error," ""~s""", [S]).
|
||||
'$dump_error_token'('(') :-
|
||||
'$dump_error_token'('(') :- !,
|
||||
'$format'(user_error,"(", []).
|
||||
'$dump_error_token'(')') :-
|
||||
'$dump_error_token'(')') :- !,
|
||||
'$format'(user_error," )", []).
|
||||
'$dump_error_token'(',') :-
|
||||
'$dump_error_token'(',') :- !,
|
||||
'$format'(user_error," ,", []).
|
||||
'$dump_error_token'(A) :-
|
||||
'$format'(user_error," ~a", [A]).
|
||||
|
Reference in New Issue
Block a user