Commit 8c2d3d12 authored by Dick Hollenbeck's avatar Dick Hollenbeck

comment improvements

parent e44fa937
...@@ -396,7 +396,7 @@ static bool isSpace( char cc ) ...@@ -396,7 +396,7 @@ static bool isSpace( char cc )
// Treat negative as large positive to exclude rapidly. // Treat negative as large positive to exclude rapidly.
if( (unsigned char) cc <= ' ' ) if( (unsigned char) cc <= ' ' )
{ {
switch( cc ) switch( (unsigned char) cc )
{ {
case ' ': case ' ':
case '\n': case '\n':
......
...@@ -136,15 +136,13 @@ protected: ...@@ -136,15 +136,13 @@ protected:
/** /**
* Function findToken * Function findToken
* takes a string and looks up the string in the list of expected * takes aToken string and looks up the string in the keywords table.
* tokens.
* *
* @param tok A string holding the token text to lookup, in an * @param aToken is a string to lookup in the keywords table.
* unpredictable case: uppercase or lowercase * @return int - with a value from the enum DSN_T matching the keyword text,
* @return int - DSN_T matching the keyword text, or DSN_SYMBOL if argument * or DSN_SYMBOL if @a aToken is not in the kewords table.
* string is not a recognized token.
*/ */
int findToken( const std::string& tok ); int findToken( const std::string& aToken );
bool isStringTerminator( char cc ) bool isStringTerminator( char cc )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment