Changeset 394 in dev
- Timestamp:
- Feb 24, 2008, 9:02:30 PM (17 years ago)
- Location:
- trunk/jenga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/smoothie/LexicalAnalysis.h
r360 r394 18 18 19 19 bool IsVariableTopChar(char c); 20 bool IsVariableChar( char c);20 bool IsVariableChar( char c, bool isGenericsChars = false ); 21 21 bool IsBlank(char c); 22 22 int GetOneParameter(const char *Parameter,int pos,char *retAns); -
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.