cwObject.cpp : All non-quoted-string string are now considered identifiers in objectFromString().
This commit is contained in:
parent
a3012db165
commit
1c373f8d03
@ -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 );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user