MCPcopy Create free account
hub / github.com/acl-dev/acl / skip_space_comment

Method skip_space_comment

lib_acl_cpp/src/serialize/gsoner.cpp:557–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557bool gsoner::skip_space_comment(void)
558{
559 bool result = false;
560again:
561 if (skip_space ()) {
562 result = true;
563 }
564
565 char ch = codes_[pos_];
566 if(ch == '/') {
567 if (check_comment()) {
568 result = true;
569 goto again;
570 } else {
571 throw syntax_error();
572 }
573 }
574
575 return result;
576}
577
578bool gsoner::check_include(void)
579{

Callers

nothing calls this directly

Calls 1

syntax_errorClass · 0.85

Tested by

no test coverage detected