fix syntax errors

This commit is contained in:
Vítor Santos Costa 2016-02-26 17:28:22 +00:00
parent bc291ed08b
commit d2dceb91d3
3 changed files with 3 additions and 9 deletions

1
.gitignore vendored
View File

@ -150,3 +150,4 @@ yap-6.3.workspace
YAP.project
sublime
*.tmp
CBlocks

View File

@ -1,11 +1,4 @@
:- module('$char_type',[
op(1150, fx, block)
%dif/2,
%when/2,
%block/1,
%wait/1,
%frozen/2
]).
%:- module('$char_type',[]).
/**
@defgroup CharacterCodes Character Encoding and Manipulation.

View File

@ -213,7 +213,7 @@ compose_message(Term, Level) -->
main_message( Term, Level, LC ),
[nl,nl].
location(error(syntax_error(syntax_error(_,between(_,LN,_),FileName,_))), _ ) -->
location(error(syntax_error(syntax_error(_,between(_,LN,_),FileName,_)), _), _ ) -->
!,
[ '~a:~d:0: ' - [FileName,LN] ] .
location(error(style_check(style_check(_,LN,FileName,_ ) ),_), _ ) -->