cwObject.cpp : All non-quoted-string string are now considered identifiers in objectFromString().

This commit is contained in:
kevin 2024-04-22 15:57:59 -04:00
parent a3012db165
commit 1c373f8d03

View File

@ -907,7 +907,7 @@ cw::rc_t cw::objectFromString( const char* s, object_t*& objRef )
s[n] = 0; s[n] = 0;
//char* v = mem::duplStr(lex::tokenText(lexH),lex::tokenCharCount(lexH)); //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<char*>( cnp, s, "string", identFl ); _objCreateValueNode<char*>( cnp, s, "string", identFl );
} }