From 1c373f8d03db0ba2460ca29d3213a6ab335e79d9 Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 22 Apr 2024 15:57:59 -0400 Subject: [PATCH] cwObject.cpp : All non-quoted-string string are now considered identifiers in objectFromString(). --- cwObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }