summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/err_sym6.dat
blob: 6eb84d0c805eb97954b58a90e2f373afa37f68fe (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
/*
File:    err_sym6.dat
Date:    29 Mar 2004
duplicate directive
*/
error-symbols
(file-name	err_symbols
,name-space	NS_yacco2_err_symbols)
{
"nested-files-exceeded"  
(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;
    ***
    constructor
      x_ = -1;
    ***
	}
)


}