MCPcopy Create free account
hub / github.com/arkdb/inception / consume_comment

Function consume_comment

sql/sql_lex.cc:864–895  ·  view source on GitHub ↗

Given a stream that is advanced to the first contained character in an open comment, consume the comment. Optionally, if we are allowed, recurse so that we understand comments within this current comment. At this level, we do not support version-condition comments. We might have been called with having just passed one in the stream, though. In that case, we probably want to toler

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lex_one_tokenFunction · 0.85

Calls 4

yyGetMethod · 0.80
yyPeekMethod · 0.80
yySkipMethod · 0.80
eofMethod · 0.45

Tested by

no test coverage detected