Changeset 038a9a4 in tol
- Timestamp:
- Feb 15, 2012, 1:50:27 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 7ac88ca
- Parents:
- e679c37
- File:
-
- 1 edited
-
tol/lang/language.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/lang/language.cpp
re679c37 r038a9a4 123 123 BGrammar* GraNameBlock() { return(BUserNameBlock ::OwnGrammar()); } 124 124 125 static BStruct* _str_ref_Anything = NULL; 126 static BStruct* _str_ref_Code = NULL; 127 static BStruct* _str_ref_Date = NULL; 128 static BStruct* _str_ref_Polyn = NULL; 129 static BStruct* _str_ref_Ratio = NULL; 130 static BStruct* _str_ref_Real = NULL; 131 static BStruct* _str_ref_Complex = NULL; 132 static BStruct* _str_ref_Matrix = NULL; 133 static BStruct* _str_ref_VMatrix = NULL; 134 static BStruct* _str_ref_Set = NULL; 135 static BStruct* _str_ref_NameBlock = NULL; 136 static BStruct* _str_ref_Text = NULL; 137 static BStruct* _str_ref_TimeSet = NULL; 138 static BStruct* _str_ref_Serie = NULL; 139 140 BStruct* RefAnything() { return(_str_ref_Anything); } 141 BStruct* RefCode() { return(_str_ref_Code); } 142 BStruct* RefDate() { return(_str_ref_Date); } 143 BStruct* RefPolyn() { return(_str_ref_Polyn); } 144 BStruct* RefRatio() { return(_str_ref_Ratio); } 145 BStruct* RefReal() { return(_str_ref_Real); } 146 BStruct* RefComplex() { return(_str_ref_Complex); } 147 BStruct* RefMatrix() { return(_str_ref_Matrix); } 148 BStruct* RefVMatrix() { return(_str_ref_VMatrix); } 149 BStruct* RefSet() { return(_str_ref_Set); } 150 BStruct* RefNameBlock() { return(_str_ref_NameBlock); } 151 BStruct* RefText() { return(_str_ref_Text); } 152 BStruct* RefTimeSet() { return(_str_ref_TimeSet); } 153 BStruct* RefSerie() { return(_str_ref_Serie); } 154 155 //-------------------------------------------------------------------- 156 bool InitRefStructs() 157 //-------------------------------------------------------------------- 158 { 159 if(_str_ref_Anything) { return(false); } 160 _str_ref_Anything = NewStructSymbol("@Anything","Anything:V"); 161 _str_ref_Code = NewStructSymbol("@Code","Code:V"); 162 _str_ref_Date = NewStructSymbol("@Date","Date:V"); 163 _str_ref_Polyn = NewStructSymbol("@Polyn","Polyn:V"); 164 _str_ref_Ratio = NewStructSymbol("@Ratio","Ratio:V"); 165 _str_ref_Real = NewStructSymbol("@Real","Real:V"); 166 _str_ref_Complex = NewStructSymbol("@Complex","Complex:V"); 167 _str_ref_Matrix = NewStructSymbol("@Matrix","Matrix:V"); 168 _str_ref_VMatrix = NewStructSymbol("@VMatrix","VMatrix:V"); 169 _str_ref_Set = NewStructSymbol("@Set","Set:V"); 170 _str_ref_NameBlock = NewStructSymbol("@NameBlock","NameBlock:V"); 171 _str_ref_Text = NewStructSymbol("@Text","Text:V"); 172 _str_ref_TimeSet = NewStructSymbol("@TimeSet","TimeSet:V"); 173 _str_ref_Serie = NewStructSymbol("@Serie","Serie:V"); 174 } 125 175 126 176
Note: See TracChangeset
for help on using the changeset viewer.
