Problem with validation of expressions

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Problem with validation of expressions

Post by Rado1 »

ZLibrary and ZExpression can contain invalid expressions without reporting syntax errors if placed to OnLoad or AppState's OnStart sections; for instance:

Code: Select all

ZZDC<?xml version="1.0" encoding="iso-8859-1" ?>
<Group Name="#">
  <Children>
    <ZLibrary>
      <Source>
<![CDATA[const float AAA = 5.0;
eweq
dsds
sa d dsadas dsa]]>
      </Source>
    </ZLibrary>
    <ZExpression>
      <Expression>
<![CDATA[int i = 10;
\dsadl akj jd asdj
df  fdfd
sf dsfdf ds
fds fds
f dsf
dsf d
s]]>
      </Expression>
    </ZExpression>
  </Children>
</Group> <!-- # -->
Attachments
test.zgeproj
testing project
(470 Bytes) Downloaded 975 times
Post Reply