Changeset 394 in dev for trunk/jenga/src/smoothie/LexicalAnalysis.cpp
- Timestamp:
- Feb 24, 2008, 9:02:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/src/smoothie/LexicalAnalysis.cpp
r362 r394 13 13 return false; 14 14 } 15 bool IsVariableChar( char c){15 bool IsVariableChar( char c, bool isGenericsChars ){ 16 16 if((c>='A'&&c<='Z')||(c>='a'&&c<='z')||(c>='0'&&c<='9')|| 17 17 c=='%'||c=='!'||c=='#'||c=='$'|| … … 20 20 return true; 21 21 } 22 23 if( isGenericsChars ) 24 { 25 if( c == '<' || c == '>' ) 26 { 27 return true; 28 } 29 } 30 22 31 return false; 23 32 }
Note:
See TracChangeset
for help on using the changeset viewer.