Home
last modified time | relevance | path

Searched refs:cmt_pos (Results 1 - 1 of 1) sorted by relevance

/arkcompiler/runtime_core/assembler/
H A Dlexer.cpp355 size_t cmt_pos = curr_line_->buffer.find_first_of("\"#", 0); in LexPreprocess() local
356 if (cmt_pos != std::string::npos) { in LexPreprocess()
358 if (cmt_pos != 0 && curr_line_->buffer[cmt_pos - 1] != '\\' && curr_line_->buffer[cmt_pos] == '\"') { in LexPreprocess()
360 } else if (curr_line_->buffer[cmt_pos] == PARSE_COMMENT_MARKER && !inside_str_lit) { in LexPreprocess()
363 } while ((cmt_pos = curr_line_->buffer.find_first_of("\"#", cmt_pos + 1)) != std::string::npos); in LexPreprocess()
366 if (cmt_pos != std::string::npos) { in LexPreprocess()
367 curr_line_->end = cmt_pos; in LexPreprocess()
[all...]

Completed in 1 milliseconds