title: "Expected a statement" error in embedded C
body: <p>I'm getting error like "expected an statement"</p>
  
  <p>my code is as follows</p>
  
  <pre><code>#define IN_Tamper    0X00001000     /*P2.12 = EINT2*/
  #define DIR_IN_Tamper    { FIO2DIR &amp;= ~0X00001000 ; } 
  
  /* main */
  DIR_IN_Tamper(); 
  if(((IN_Tamper &gt;&gt; 12) &amp; 0x01) == 1)
              BUZZER_ON();
           else
              BUZZER_OFF();   
  </code></pre>
  
  <p>I'm getting error saying</p>
  
  <ol>
  <li><p>Expected an statement for DIR_IN_Tamper();</p></li>
  <li><p>expected a statement for the else part.....</p></li>
  </ol>