Changeset 3331 for proto


Ignore:
Timestamp:
Jun 19, 2013, 7:20:21 AM (6 years ago)
Author:
cameron
Message:

Update UTF-16 and UTF-32 based definitions for XML

Location:
proto/charsetcompiler/inputs
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • proto/charsetcompiler/inputs/Numeric

    r3111 r3331  
    33lex.Point = [.]
    44lex.ExponMark = [eE]
    5 lex.NumBreak = [^A-Za-z_]
     5lex.NumBreak = [^A-Za-z_.]
    66
  • proto/charsetcompiler/inputs/XML_UTF16

    r3296 r3331  
    2424lex.ASCII_name_start = [_:A-Za-z]
    2525lex.ASCII_name_char = [-_.0-:A-Za-z]
    26 lex.NameScan = [-_.0-:A-Za-z\x80-\xFF]
    27 lex.WS = [\x0D\x0A\x09 ]
     26lex.NameScan = [-_.0-:A-Za-z\u0080-\uFFFF]
     27lex.WS = [\u000D\u000A\u0009 ]
    2828lex.Digit = [0-9]
    2929lex.Hex = [0-9A-Fa-f]
     
    3333
    3434lex.hi_surrogate = [\uD800-\uDBFF]
    35 lex.lo_surrogate = [\xDC00-\xDFFF]
     35lex.lo_surrogate = [\uDC00-\uDFFF]
    3636
    3737lex.illegal = [\uFFFE-\uFFFF]
Note: See TracChangeset for help on using the changeset viewer.