/*
file: errsym.txt
Why: error symbols vocabulary to parse. 
Note:
error-symbols is shown for clarity.
It is the keyword trigger that calls this grammar.
Parsed is comments onwards.
*/
error-symbols
// comments
(file-name	yacco2_err_symbols
,name-space	NS_yacco2_err_symbols)
{
"nested files exceeded"  
(sym-class	Err_nested_files_excded {
 user-declaration
  public:
  Err_nested_files_excded(yacco2::INT Nested_file_cnt,std::string& File_name);
  yacco2::INT nested_cnt(){return nested_cnt_;};
  std::string* file_exceeded(){return &file_exceeded_;};
  private:
  yacco2::INT nested_cnt_;
  std::string file_exceeded_;
 ***
 user-implementation
  Err_nested_files_excded::
  Err_nested_files_excded(yacco2::INT Nested_cnt,std::string& File_name)
  T_CTOR("nested files excded",T_Enum::T_Err_nested_files_excded_,0,false,false)
  {nested_cnt_ = Nested_cnt;file_exceeded_ += File_name.c_str();}
 ***
 }
)
"no end-of-code"  (sym-class	Err_no_end_of_code)
"no cmd-lne-data" (sym-class	Err_no_cmd_lne_data)
"no filename"     (sym-class	Err_no_filename)
                      ...
}
