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

Comparing trunk/OOPSE-3.0/src/selection/SelectionCompiler.cpp (file contents):
Revision 1987 by tim, Mon Feb 7 22:36:32 2005 UTC vs.
Revision 2099 by tim, Wed Mar 9 18:46:16 2005 UTC

# Line 119 | Line 119 | bool SelectionCompiler::internalCompile(){
119              //}
120              if (lookingAtDecimal((tokCommand & Token::negnums) != 0)) {
121                  float value = lexi_cast<float>(script.substr(ichToken, cchToken));        
122                std::cout << "encount an decimal: " << value << std::endl;
122                  ltoken.push_back(Token(Token::decimal, boost::any(value)));
123                  continue;
124              }
125              if (lookingAtInteger((tokCommand & Token::negnums) != 0)) {
126  
127                  int val = lexi_cast<int>(script.substr(ichToken, cchToken));
129                std::cout << "encount an integer: " << val << std::endl;
128                  ltoken.push_back(Token(Token::integer,   boost::any(val)));
129                  continue;
130              }
# Line 245 | Line 243 | bool SelectionCompiler::internalCompile(){
243      }
244      cchToken = ichT - ichToken;
245  
248
249    std::cout << "lookingAtString: encount " << script.substr(ichToken, cchToken) << std::endl;
246      return true;
247    }
248  
# Line 432 | Line 428 | bool SelectionCompiler::lookingAtLookupToken() {
428  
429      cchToken = ichT - ichToken;
430  
435    std::cout << "lookingAtLookupToken: encount " << script.substr(ichToken, cchToken) << std::endl;
431      return true;
432   }
433  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines