Changeset 3159 for code/branches/pch/src/util
- Timestamp:
- Jun 13, 2009, 6:41:05 PM (15 years ago)
- Location:
- code/branches/pch/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/util/ExprParser.cc
r3146 r3159 247 247 return 0; 248 248 } 249 else if ( *reading_stream > 47 && *reading_stream < 59|| *reading_stream == 46)249 else if ((*reading_stream > 47 && *reading_stream < 59) || *reading_stream == 46) 250 250 { // number 251 251 value = strtod(reading_stream, const_cast<char**>(&reading_stream)); 252 252 } 253 else if ( *reading_stream > 64 && *reading_stream < 91 || *reading_stream > 96 && *reading_stream < 123|| *reading_stream == 46)253 else if ((*reading_stream > 64 && *reading_stream < 91) || (*reading_stream > 96 && *reading_stream < 123) || *reading_stream == 46) 254 254 { // variable or function 255 255 char* word = new char[256]; … … 384 384 char* word = str; 385 385 int counter = 0; 386 while ( *reading_stream > 47 && *reading_stream < 58 || *reading_stream > 64 && *reading_stream < 91 || *reading_stream > 96 && *reading_stream < 123|| *reading_stream == 46)386 while ((*reading_stream > 47 && *reading_stream < 58) || (*reading_stream > 64 && *reading_stream < 91) || (*reading_stream > 96 && *reading_stream < 123) || *reading_stream == 46) 387 387 { 388 388 *word++ = *reading_stream++; -
code/branches/pch/src/util/SignalHandler.cc
r3146 r3159 209 209 { 210 210 if ( 211 charsFound == 0 && byte == '('||212 charsFound == 1 && byte == 'g'||213 charsFound == 2 && byte == 'd'||214 charsFound == 3 && byte == 'b'||215 charsFound == 4 && byte == ')'||216 charsFound == 5 && byte == ' '211 (charsFound == 0 && byte == '(') || 212 (charsFound == 1 && byte == 'g') || 213 (charsFound == 2 && byte == 'd') || 214 (charsFound == 3 && byte == 'b') || 215 (charsFound == 4 && byte == ')') || 216 (charsFound == 5 && byte == ' ') 217 217 ) 218 218 charsFound++; … … 246 246 247 247 if ( 248 charsFound == 0 && byte == '('||249 charsFound == 1 && byte == 'g'||250 charsFound == 2 && byte == 'd'||251 charsFound == 3 && byte == 'b'||252 charsFound == 4 && byte == ')'||253 charsFound == 5 && byte == ' '248 (charsFound == 0 && byte == '(') || 249 (charsFound == 1 && byte == 'g') || 250 (charsFound == 2 && byte == 'd') || 251 (charsFound == 3 && byte == 'b') || 252 (charsFound == 4 && byte == ')') || 253 (charsFound == 5 && byte == ' ') 254 254 ) 255 255 charsFound++;
Note: See TracChangeset
for help on using the changeset viewer.