Changeset 622 in dev for trunk/ab5.0/jenga
- Timestamp:
- May 21, 2008, 1:16:21 PM (16 years ago)
- Location:
- trunk/ab5.0/jenga
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/include/common/String.h
r607 r622 14 14 std::wstring ToWString( const std::string &str ); 15 15 16 bool IsIdentifierTopChar( char c ); 17 bool IsIdentifierChar( char c ); 16 18 17 19 } -
trunk/ab5.0/jenga/include/jenga.h
r532 r622 5 5 #include "common/CmdLine.h" 6 6 #include "common/Directory.h" 7 #include "common/EasyToken.h" 7 8 #include "common/Environment.h" 8 9 #include "common/Exception.h" -
trunk/ab5.0/jenga/projects/jenga/jenga.vcproj
r529 r622 287 287 <File 288 288 RelativePath="..\..\src\common\Directory.cpp" 289 > 290 </File> 291 <File 292 RelativePath="..\..\src\common\EasyToken.cpp" 289 293 > 290 294 </File> … … 360 364 </File> 361 365 <File 366 RelativePath="..\..\include\common\EasyToken.h" 367 > 368 </File> 369 <File 362 370 RelativePath="..\..\include\common\Environment.h" 363 371 > -
trunk/ab5.0/jenga/src/common/String.cpp
r607 r622 55 55 return wstr; 56 56 } 57 58 bool Jenga::Common::IsIdentifierTopChar( char c ) 59 { 60 return ( isalpha( c ) || c == '_' ); 61 } 62 63 bool Jenga::Common::IsIdentifierChar( char c ) 64 { 65 return ( IsIdentifierTopChar( c ) || isdigit( c ) ); 66 }
Note:
See TracChangeset
for help on using the changeset viewer.