View Issue Details

IDProjectCategoryView StatusLast Update
0001199Ecere SDKecerepublic2018-07-20 02:30
Reporterjerome Assigned Toslothtrop  
PriorityimmediateSeveritymajorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version0.44.15 
Target Version0.44.16 
Summary0001199: ECON parser fails to properly parse a=b while a = b works fine
Description- Also test with JSON if any similar problem occurs
TagsNo tags attached.

Activities

jerome

2018-07-20 02:30

administrator   ~0001481

diff --git a/ecere/src/sys/JSON.ec b/ecere/src/sys/JSON.ec
index 3aacb596e..e1fe4d9ca 100644
--- a/ecere/src/sys/JSON.ec
+++ b/ecere/src/sys/JSON.ec
@@ -1055,12 +1055,12 @@ private:
                bool isTemplateArg = false;
                uint offset = 0;

- ch = 0;
- SkipEmpty();
-
                // Find Member in Object Class
                if(eCON && (ch != '=' && ch != ':'))
                {
+ ch = 0;
+ SkipEmpty();
+
                   eClass_FindNextMember(objectType, &curClass, &curMember, subMemberStack, &subMemberStackPos);
                   if(curMember)
                   {

Issue History

Date Modified Username Field Change
2018-07-18 16:34 jerome New Issue
2018-07-18 16:34 jerome Status new => assigned
2018-07-18 16:34 jerome Assigned To => slothtrop
2018-07-20 02:30 jerome Note Added: 0001481