• Advertisement
Sign in to follow this  

uint token parse error!

This topic is 1431 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Dear Andreas:

   please try this in 2.28.1

   void main()

   {

        uint8  uint8Temp;

        uint32 uint32B;

   }

 

   The variable name starting with (uint8, int8...) will result in parsing error.

Share this post


Link to post
Share on other sites
Advertisement

Thanks a lot.

 

But in revision 1837 , it will crash in "as_restore.cpp" line 4579 "SInfo info = stack.PopLast();"

if stack in empty, the info maybe null.

 

Currently, I use revision 1833

Share this post


Link to post
Share on other sites

I assume you meant line 4597, right?

 

Can you provide a sample script to reproduce this problem? I need to understand what caused it to get into this error condition, as there might be a bug hidden somewhere else in the code.

Share this post


Link to post
Share on other sites

I've made some improvements to the error handling in the asCRestore class in revision 1839. It should no longer crash in this situation.

Share this post


Link to post
Share on other sites

I just update to latest revision.

But it crash at array bytecode saving.

try this

 

void main()

{

     const uint8[] arr = {1,2,3,4,5};

}

It compiles with no error, but it crash when saving bytecode,

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement