Changeset 3086


Ignore:
Timestamp:
Apr 28, 2013, 1:32:51 AM (6 years ago)
Author:
ksherdy
Message:

Fixed ordering to recognize escapes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/input/grammar/re.scatter

    r3084 r3086  
    1515        recognizers {
    1616                Whitespace [IGNORE],
     17                Escape[UNICODE_ESCAPE]                  "\\u" "0123456789abcdefABCDEF" 4 4 16,
     18                Escape[HEXADECIMAL_ESCAPE]              "\\x" "0123456789abcdefABCDEF" 2 2 16,
    1719                Escape[CHARACTER_ESCAPE]                "\\" "[.]" 1 1,
    18                 Escape[HEXADECIMAL_ESCAPE]              "\\x" "0123456789abcdefABCDEF" 2 2 16,
    19                 Escape[UNICODE_ESCAPE]                  "\\u" "0123456789abcdefABCDEF" 4 4 16,
    2020                Punctuator,
    2121                Comment [IGNORE] "(?#" ")",     // comments
Note: See TracChangeset for help on using the changeset viewer.