private void ConsumeLiteral() { BeginToken(); char qoute = Read(); StringBuilder sb = new StringBuilder(); char c; while ((c = Peek(0)) != qoute || Peek(1) == qoute) { if (Peek(0) == 0) { return; } if (c == qoute && Peek(1) == qoute) { Read(); } sb.Append(Read()); } Read(); EndToken(); ConsumeToken(Token.StringLiteral, CoreFuncs.NormalizeStringValue(sb.ToString(), false, true)); }