Book a Demo

Author Topic: Error parsing when generating code  (Read 3256 times)

CamargoF

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Error parsing when generating code
« on: December 01, 2005, 08:24:38 am »
I create a class to generate a XML file and I am receiving the following error message when I tried to generate de code:

"There was an error parsing on line 42.
Unexpected symbol: :.
Code generation failed."

It is the first time I tried to generate the since:
a) I bought the EA and remove the trial version.
b) I include in the initial code how create the XML file.

As I am using CDATA on my code, should it affect any thing?
What is the line 42 the error is refering about?
Where is the LOG I can read to identify this kind of problem? ??? ??? ???

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Error parsing when generating code
« Reply #1 on: December 01, 2005, 02:00:49 pm »
It looks like EA is trying to parse the file as code. In order to synchronise with it, but it doesn't succeed.  What language is the class set to and have you modified/written code templates?

CamargoF

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Error parsing when generating code
« Reply #2 on: December 01, 2005, 10:14:38 pm »
 ;D ;D
You are write. As soon as I remove the old cs file, the error disapper. As I was generating the code right clicking the class and there is no option or information it is going to synchronize or overwrite the file.
I thought it was overwrite, but it was not.

Thank you very much for your help.

;D ;D