diff --git a/cwObject.cpp b/cwObject.cpp index a84a6c8..6fabd0b 100644 --- a/cwObject.cpp +++ b/cwObject.cpp @@ -907,7 +907,7 @@ cw::rc_t cw::objectFromString( const char* s, object_t*& objRef ) s[n] = 0; //char* v = mem::duplStr(lex::tokenText(lexH),lex::tokenCharCount(lexH)); - unsigned identFl = lexId == lex::kIdentLexTId ? kIdentFl : 0; + unsigned identFl = lexId != lex::kQStrLexTId ? kIdentFl : 0; _objCreateValueNode( cnp, s, "string", identFl ); }