Ouguiya
New Member
- Reaction score
- 11
Hello all!
I have recently tried to switch to JassNewGen.
To my dismay I created my map with WEU, and had some functions typical to it in it.
I removed all those functions, and the map (after a long trial and error process) now opens.
The problem is that the map doesn't get saved correctly, because Jasshelper tells me:
"Line 9665: identifier redeclared : "Commander" "
"Line 9838 ---- (previously declared here)
and the function lines which caused this were:
respectively.
I have to say that I am a complete noob at JASS. A quick search of the internet showed up that this was already the topic in the development of JassHelper (http://www.wc3c.net/showthread.php?t=94334), where Vexorian then scolded the poster for "giving the same name to things" and then said "This syntax error is actually expected to happen in that case."
Which is nice, but doesn't solve the problem.
If anyone could point me in the right direction on how to repair this issue (since I don't really want to save all the time with having this syntax error, and don't really want to disable jasshelper all the time), I'd be grateful and of course award +rep.
Thanks in advance,
Yours,
Ouguiya
I have recently tried to switch to JassNewGen.
To my dismay I created my map with WEU, and had some functions typical to it in it.
I removed all those functions, and the map (after a long trial and error process) now opens.
The problem is that the map doesn't get saved correctly, because Jasshelper tells me:
"Line 9665: identifier redeclared : "Commander" "
"Line 9838 ---- (previously declared here)
and the function lines which caused this were:
respectively.
I have to say that I am a complete noob at JASS. A quick search of the internet showed up that this was already the topic in the development of JassHelper (http://www.wc3c.net/showthread.php?t=94334), where Vexorian then scolded the poster for "giving the same name to things" and then said "This syntax error is actually expected to happen in that case."
Which is nice, but doesn't solve the problem.
If anyone could point me in the right direction on how to repair this issue (since I don't really want to save all the time with having this syntax error, and don't really want to disable jasshelper all the time), I'd be grateful and of course award +rep.
Thanks in advance,
Yours,
Ouguiya