Tuesday, June 03, 2008

Error 1084

1084: Syntax error: expecting colon before leftbrace.   

1084: Syntax error: expecting identifier before rightbrace.   

1084: Syntax error: expecting rightbrace before semicolon.   

1084: Syntax error: expecting rightparen before rightbrace.   

1084: Syntax error: expecting semicolon before rightparen.   

 

Possible Reasons:

  1. Some typo mistake could lead to this error.
    e.g.
    • for(var z:int = 0; z<items, z++)
      instead of semicolon, you put comma
    • if(a==0{
      missed right parentheses before left brace

 

Do you know any other possible reason for this ?