Diff
Not logged in

Differences From Artifact [165f2920b68bc5f6]:

To Artifact [ad028a2a26b6c7bc]:


109 this.current = (current is null ? readNext() : current); 109 this.current = (current is null ? readNext() : current); 110 } 110 } 111 111 112 public static 112 public static 113 { 113 { 114 bool isSpace (dchar c) { return std.ctype.isspace(c)!=0; } 114 bool isSpace (dchar c) { return std.ctype.isspace(c)!=0; } 115 bool isSymbol (dchar c) { return 0x21<=c && c<=0x7f && !std.cty 115 bool isSymbol (dchar c) { return 0x21<=c && c<=0x7f && !std.cty 116 bool isSSymbol (dchar c) { return "()[]{};@".canFind(c); } | 116 bool isSSymbol (dchar c) { return "()[]{};,@".canFind(c); } 117 bool isMSymbol (dchar c) { return isSymbol(c) && !isSSymbol(c) & 117 bool isMSymbol (dchar c) { return isSymbol(c) && !isSSymbol(c) & 118 bool isLetter (dchar c) { return !isSpace(c) && !isSymbol(c); } 118 bool isLetter (dchar c) { return !isSpace(c) && !isSymbol(c); } 119 } 119 } 120 120 121 string readQuoted(const LexPosition pos){char[] buf; return readQuoted(p 121 string readQuoted(const LexPosition pos){char[] buf; return readQuoted(p 122 string readQuoted(const LexPosition pos, ref char[] buf) 122 string readQuoted(const LexPosition pos, ref char[] buf) 123 { 123 {