Article # 628, added by Geoworks, historical record
| first | previous | index | next | last |

Parse error caused by missing semicolon.



Here is some example output from pmake:

> pmake
Error FILE.GOC 297: This chunk () is not localizable
Error FILE.GOC 298: parse error
Error FILE.GOC 301: parse error
Error FILE.GOC 301: CMI_topText is not a valid instance variable or vardata element for this object

Now here is the code that is causing the problem:

@object class name = {
     // usual stuff here
     HINT_DRAW_SHADOW;
     HINT_FIXED_SIZE = {
          SST_PIXELS | FOAM_DEFAULT_COMPONENT_WIDTH + 25, 0, 0
     }
}

Notice the missing semicolon after HINT_FIXED_SIZE. After adding a
semicolon after the closing brace of the HINT_FIXED_SIZE the code
will compile correctly.