cwObject.cpp : Generate an error message when a token is not recognized by the string->object parser.
This commit is contained in:
parent
15487e3eb4
commit
c1e0765d92
@ -941,6 +941,7 @@ cw::rc_t cw::objectFromString( const char* s, object_t*& objRef )
|
|||||||
|
|
||||||
if( lexId == lex::kErrorLexTId )
|
if( lexId == lex::kErrorLexTId )
|
||||||
{
|
{
|
||||||
|
rc = cwLogError(kSyntaxErrorRC,"A lexical element was not recognized.");
|
||||||
goto errLabel;
|
goto errLabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user