Changeset 4587 for trunk/wenv

Show
Ignore:
Timestamp:
11/11/08 01:45:52 (2 months ago)
Author:
pmoura
Message:

Fixed a block comment syntax coloring bug in the support for the Highlight syntax highlighter with the help of André Simon.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wenv/highlight/lgt.lang

    r4582 r4587  
    55#  Author: Paulo Moura 
    66#    Mail: pmoura@logtalk.org 
    7 #    Date: 08.11.08 
    8 # Version: 1.1 
     7#    Date: 11.11.08 
     8# Version: 1.2 
    99# ------------------------------------------ 
    1010# This file is a part of highlight, a free source code converter released under the GPL. 
     
    109109$KEYWORDS(kwd)=regex((\\\+|->|=\.\.|;|!|:-|\^)) 
    110110# Prolog arithmetic operators 
    111 $KEYWORDS(kwd)=regex((is|mod|rem|//|[+\-*/]|[*][*])) 
     111$KEYWORDS(kwd)=regex((is|mod|rem|//|[+\-]|/(?!\*)|(?<=\*)/|[*][*])) 
    112112# Prolog arithmetic comparison operators 
    113113$KEYWORDS(kwd)=regex((=<|<|=:=|=\\=|>=|>))