Commit 4de58246 authored by Marc Gravell's avatar Marc Gravell

don't peek twice

parent 5eca3626
......@@ -108,7 +108,7 @@ public bool MoveNext()
var first = _value.PeekByte();
if (first < 0) return false; // EOF
switch (_value.PeekByte())
switch (first)
{
case (byte)'"':
case (byte)'\'':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment