Re: Building struct branch fails

new topic     » goto parent     » topic index » view thread      » older message » newer message

What this boils down to is, I ran across a bug where ".e" is incorrectly parsed as part of an exponent (e.g. 6.022e+23). So any memstruct member that starts with "e" (or "E" or "_e" or "_E") crashes immediately.

I was planning to file a bug report, but I at least wanted to verify the bug still existed in the current struct branch. Should I file a bug report about the missing MAXCHK constants first?

memstruct test_t 
    long a 
    long b 
    long c 
    long d 
    long e 
end memstruct 
 
atom ptr = allocate( sizeof(test_t) ) 
 
ptr.test_t.a = 1 
ptr.test_t.b = 2 
ptr.test_t.c = 3 
ptr.test_t.d = 4 
ptr.test_t.e = 5 -- crashes 
 
free( ptr ) 

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu