ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/selection/SelectionCompiler.hpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/selection/SelectionCompiler.hpp (file contents):
Revision 1979 by tim, Mon Feb 7 19:13:18 2005 UTC vs.
Revision 2191 by tim, Wed Apr 13 22:43:43 2005 UTC

# Line 106 | Line 106 | class SelectionCompiler{
106                  strError += filename;
107              }
108  
109            strError += " line#" + lineCurrent;
109              return strError;
110          }
111  
# Line 140 | Line 139 | class SelectionCompiler{
139          bool clauseWithin();
140          bool clauseComparator();
141          bool clauseChemObjName();        
143        bool clauseName(std::string& name);
142          bool clauseIndex();
143          Token tokenNext();
144          boost::any valuePeek();
145          int tokPeek();
146  
147          bool addTokenToPostfix(const Token& token);
148 +        bool isNameValid(const std::string& name);
149  
150 <
151 <        bool compileError(const std::string& errorMessage) {
153 <            std::cerr << "SelectionCompiler Error: " << errorMessage << std::endl;
150 >        bool compileError(const std::string& errorMsg) {
151 >            std::cerr << "SelectionCompiler Error: " << errorMsg << std::endl;
152              error = true;
153 <            this->errorMessage = errorMessage;
153 >            this->errorMessage = errorMsg;
154              return false;
155          }
156          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines