src/parsegrammar.cpp
void parsegrammar::accept(LLTOKEN_CODE accept_token)
	{
		if (code == accept_token) {
			get_token();
		}
		else {
			std::cout << "accept: Expecting " << token_desc(accept_token) << " on line " << on_line << " " << on_col << ". \n";
		}
	}
/********************************************************************
	 *  accept - will check if next token read is as expected
	 *******************************************************************/
will check if next token read is as expected
will check if next token read is as expected
void parsegrammar::accept(LLTOKEN_CODE accept_token)
	{
		if (code == accept_token) {
			get_token();
		}
		else {
			std::cout << "accept: Expecting " << token_desc(accept_token) << " on line " << on_line << " " << on_col << ". \n";
		}
	}
void parsegrammar :: accept ( LLTOKEN_CODE accept_token ) { if ( code == accept_token ) { get_token ( ) ; } else { std :: cout << " " << token_desc ( accept_token ) << " " << on_line << " " << on_col << " \n " ; } }
accept - will check if next token read is as expected
accept - will check if next token read is as expected