Changeset 4252

Show
Ignore:
Timestamp:
05/05/08 10:15:07 (2 months ago)
Author:
pmoura
Message:
Corrected a bug in the syntax coloring of arithmetic comparison operators in the Emacs text editor.
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r4251 r4252  
    4949 
    5050    Added missing support for the syntax coloring of the built-in predicate  
    51     unify_with_occurs_check/2 to the Emacs text editor. 
     51    unify_with_occurs_check/2 to the Emacs text editor. Corrected a bug in  
     52    the syntax coloring of arithmetic comparison operators. 
    5253 
    5354    Added missing support for the syntax coloring of the built-in control  
  • trunk/wenv/emacs/logtalk.el

    r4237 r4252  
    55;; Author: Paulo Moura <pmoura@logtalk.org> 
    66;; Creation date: November 15, 2003 
    7 ;; Last modification date: April 30, 2008 
    8 ;; Version: 1.4 
     7;; Last modification date: May 5, 2008 
     8;; Version: 1.41 
    99 
    1010;; Installation: 
     
    2828;; setup  
    2929 
    30 (defvar logtalk-mode-version "1.4" 
     30(defvar logtalk-mode-version "1.41" 
    3131    "Logtalk mode version number") 
    3232 
     
    162162        ("\\<is\\>" 0 'logtalk-built-in-predicate-face) 
    163163        ;; 
    164         ;; arithemtic comparison: 
    165         ("=:=\\|@\\(?:=<\\|>=\\|[<>]\\)\\|\\\\==" 0 'logtalk-built-in-predicate-face) 
     164        ;; arithmetic comparison: 
     165        ("=:=\\|\\(?:=<\\|>=\\|[<>]\\)\\|\\\\==" 0 'logtalk-built-in-predicate-face) 
    166166        ;; 
    167167        ;; term unification: 
     
    216216        ;; bitwise functors: 
    217217        ;; 
    218         ("/\\\\\\|<<\\|>>\\|\\\\/" 0 'logtalk-built-in-predicate-face) 
     218        ("/\\\\|<<\\|>>\\|\\\\/" 0 'logtalk-built-in-predicate-face) 
    219219        ("\\\\" 0 'logtalk-built-in-predicate-face) 
    220220    )) 
     
    247247        ("\\<\\(0o[0-7]+\\)\\>" 1 'logtalk-number-face) 
    248248        ("\\<\\(0b[0-1]+\\)\\>" 1 'logtalk-number-face) 
    249         ("\\<\\(0['][a-zA-Z0-9]\\)\\>" 1 'logtalk-number-face) 
     249        ("\\<\\(0['].\\)\\>" 1 'logtalk-number-face) 
    250250        ("\\<\\([0-9]+\\([.][0-9]+\\)?\\([eE][+-][0-9]+\\)?\\)\\>" 1 'logtalk-number-face) 
    251251    ))