// scanEOL consumes the current double circumflex
// if not found, as expected, returns the next character  which is single circumflex of type ILLEGAL.
scanEOL consumes the current double circumflex
if not found, as expected, returns the next character  which is single circumflex of type ILLEGAL.
// scanEOL consumes the current double circumflex // if not found as expected returns the next character which is single circumflex of type ILLEGAL .
func (s *Scanner) scanDoubleCircum() (tok Token, lit string) {
	var buf bytes.Buffer
	ch := s.read()
	buf.WriteRune(ch)
	ch = s.read()
	if ch != '^' {
		s.unread()
		return ILLEGAL, buf.String()
	}
	buf.WriteRune(ch)
	return DOUBLECIRCUM, buf.String()
}
func ( s * Scanner ) scanDoubleCircum ( ) ( tok Token , lit string ) { var buf bytes . Buffer ch := s . read ( ) buf . WriteRune ( ch ) ch = s . read ( ) if ch != '^' { s . unread ( ) return ILLEGAL , buf . String ( ) } buf . WriteRune ( ch ) return DOUBLECIRCUM , buf . String ( ) }
scanEOL consumes the current double circumflex
if not found, as expected, returns the next character  which is single circumflex of type ILLEGAL.
scanEOL consumes the current double circumflex if not found as expected returns the next character which is single circumflex of type ILLEGAL .
// Create a buffer and read the current character into it. // first circumflex // second, probably also a circumflex