Changeset 702 for proto/JSON


Ignore:
Timestamp:
Nov 8, 2010, 7:26:19 PM (8 years ago)
Author:
ksherdy
Message:

Update JSON follow set characters classes to include WS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/JSON/byteclass.py

    r700 r702  
    228228        Lex.n = (temp49 & temp39);
    229229        temp74 = (Lex.Comma | Lex.RCurlyBrace);
    230         Lex.ValueFollowSet = (temp74 | Lex.RSquareBracket);
    231         Lex.StringFollowSet = (Lex.ValueFollowSet | Lex.Colon);
     230        temp75 = (temp74 | Lex.RSquareBracket);
     231        temp76 = (temp75 | Ctrl.CR);
     232        temp77 = (temp76 | Ctrl.LF);
     233        temp78 = (temp77 | Ctrl.HT);
     234        Lex.ValueFollowSet = (temp78 | Ctrl.SP);
     235        temp79 = (temp75 | Lex.Colon);
     236        temp80 = (temp79 | Ctrl.CR);
     237        temp81 = (temp80 | Ctrl.LF);
     238        temp82 = (temp81 | Ctrl.HT);
     239        Lex.StringFollowSet = (temp82 | Ctrl.SP);
    232240        return (u8,Lex,Ctrl)
Note: See TracChangeset for help on using the changeset viewer.