Compilation error in AX 2012

Hi Everyone,

I am getting the below error while compiling any object in the AOT.

‘-’ is an unexpected token. The expected token is ‘=’.Line 12997,position 20.

‘-’ is an unexpected token. The expected token is ‘=’.Line 12997,position 20.

‘-’ is an unexpected token. The expected token is ‘=’.Line 12997,position 20.

Please help me to resolve this.

Regards,

Madhan