summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/err_sym.dat
blob: c78bf48c1cc861f0088c2eb54048ed9725fb6d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
File:    err_sym.dat
Date:    29 Mar 2004
test error syms
*/
error-symbols
(file-name	err_symbols
,name-space	NS_yacco2_err_symbols)
{
"no-end-of-code"  (sym-class	LR1_err_no_end_of_code)
nottttt (sym-class	LR1_err_no_cmd_lne_data)
"no-cmd-lne-data" AD (sym-class	LR1_err_no_cmd_lne_data)
"no-filename" AB     (sym-class	LR1_err_no_filename)

"no-error-symbols-definitions-present" AD AB (sym-class LR1_err_no_error_sym_defs_present)
"no-key-value-present-in-terminal-definition" AB AD (sym-class LR1_err_no_terminal_key_present)

"nested-files-exceeded" AD AB  
(sym-class	LR1_err_nested_files_exceeded	{
	user-declaration
		public:
        int x_;
		LR1_err_nested_files_exceeded(INT Nested_file_cnt,std::string& File_name);
		INT nested_cnt(){return nested_cnt_;};
		std::string* file_exceeded(){return &file_exceeded_;};
		private:
			INT nested_cnt_;
			std::string file_exceeded_;
	***
	user-implementation
		LR1_err_nested_files_exceeded::
		LR1_err_nested_files_exceeded(INT Nested_cnt,std::string& File_name){
	      T_CTOR("nested-files-exceeded",T_LR1_err_nested_files_exceeded_,0,0,false,true,0,0)
		  nested_cnt_ = Nested_cnt;file_exceeded_ += File_name.c_str();}
	***
    constructor
      x_ = -1;
    ***
    destructor
      R->x_ = 0;
    ***
    op
      cout << "hi" << endl;
    ***
	}
)
/**/nnnnnn/**/AB/**/AD/**/(/**/sym-class/**/LR1_err_present/**/)/**/
/**/nnnnnn/**/AB/**/AD/**/(/**/sym-class/**/LR1_err_present/**/)/**/


}