Added comments for bug fixes and improvements
This commit is contained in:
parent
972f0888da
commit
2c7d6390ec
@ -35,7 +35,7 @@ void *CFGFileParser::parseFile()
|
||||
if(parsedParameter == NULL)
|
||||
_state = ERROR;
|
||||
//printf("%c",readChar);
|
||||
}
|
||||
}//Add case when we start with a single quote (allowed and not an error)
|
||||
else
|
||||
_state = ERROR;
|
||||
break;
|
||||
@ -138,7 +138,8 @@ void *CFGFileParser::parseFile()
|
||||
case SEPARATION:
|
||||
_type = VALUE;
|
||||
if(readChar == '\'')_state = OPENING_QUOTE;
|
||||
else _state = PARAM_SECTION;
|
||||
//Add the usual verification (readChar >= 65 && readChar <= 90) || (readChar >= 97 && readChar <= 122) || (readChar >= 48 && readChar <= 57)
|
||||
else _state = PARAM_SECTION; //Should be an error
|
||||
break;
|
||||
case ERROR:
|
||||
dictioRef->dispose();
|
||||
|
Loading…
Reference in New Issue
Block a user