There is some error when compiling...

I tried to compile a game that i have made, but it says:

main.c:20: Syntax error before ìf`

make.exe : *** [main.o] Error 1

The code at 20 is this:

if (Smpc_Peripheral[0].data & PER_DGT_TC == 0)

what is the error? Please help.
 
It's probably on the line before the if; make sure you have semicolons and closing parens/brackets in the right places.
 
Back
Top