Changeset 4134 for trunk/wenv

Show
Ignore:
Timestamp:
03/17/08 14:28:19 (10 months ago)
Author:
pmoura
Message:

Updated support for the Highlight package, solving an issue with quoted atoms and the integer expresion 0'x.

Files:
1 modified

Legend:

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

    r4130 r4134  
    2222$KW_RE(kwa)=regex(^\s*:-\s((ca(?:lls|tegory)|p(?:ublic|r(ot(?:ocol|ected)|ivate))|e(?:ncoding|xports)|in(?:fo|itialization)|alias|d(?:ynamic|iscontiguous)|m(?:eta_predicate|od(?:e|ule)|ultifile)|synchronized|o(?:bject|p)|use(?:s|_module)(?=[(])|(dynamic|synchronized|threaded|end_protocol|end_category|end_object)(?=\.))), 1) 
    2323 
    24 $KW_RE(kwd)=regex((::|\^\^)) 
     24$KW_RE(kwd)=regex((::|\^\^|<<)) 
    2525 
    2626$STRINGDELIMITERS=" ' 
     27 
     28$KW_LIST(kwc)=regex((0(').|0b[0-1]+|0o[0-7]+|0x\p{XDigit}+|\d+(\.\d+)?([eE]([-+])?\d+)?), 1) 
    2729 
    2830$SL_COMMENT=% 
     
    3436$IGNORECASE=false 
    3537 
    36 # $DIGIT=regex(0'.|0b[0-1]+|0o[0-7]+|0x\p{XDigit}+|\d+(\.\d+)?([eE]([-+])?\d+)?) 
    37  
    3838$ESCCHAR=\ 
    3939