commenting works.... that was easy

This commit is contained in:
mediocregopher 2013-05-27 01:04:56 -04:00
parent 17e070553b
commit 81cebfd8dc

View File

@ -84,7 +84,13 @@ var UintChars = CharSet{
//Looks at (but doesn't consume) the first byte in the buffer
func FirstByte(rbuf *bufio.Reader) (byte,error) {
b,err := rbuf.Peek(1)
if err != nil { return 0,err }
if err != nil {
return 0,err
} else if b[0] == ';' {
rbuf.ReadLine()
return FirstByte(rbuf)
}
return b[0],err
}