expected token: "#endif", but found "-end of file-" -
Cedimedi - 20.02.2011
Ohai.
I get this crap error when i compile.."error 001: expected token: "#endif", but found "-end of file-"" I see suddenly removed the #endif somewhere. But my script has over 32000 lines.. good luck with finding that
What can I do? And if there is nothing else than checking every single line, is there a function to ignore the error?
greetz
Re: expected token: "#endif", but found "-end of file-" -
Markx - 20.02.2011
put #endif after the prints, should work
Re: expected token: "#endif", but found "-end of file-" - [03]Garsino - 20.02.2011
search (ctrl+f) for
Then see if you can find the missing #endif
Re: expected token: "#endif", but found "-end of file-" -
Cedimedi - 20.02.2011
Quote:
Originally Posted by Markx
put #endif after the prints, should work
|
The console prints? Nah, that doesnt work
Quote:
Originally Posted by [03]Garsino
search (ctrl+f) for
Then see if you can find the missing #endif
|
hmm, i allready tried that but i think i was to fast and didn't see it. Well, it will take some time but if theres no resolve i will try that.
thanks
Re: expected token: "#endif", but found "-end of file-" - rjjj - 20.02.2011
You have to put #endif after #if, see what #if is doing as a conditional to know where #endif have to stay
Or, put the code after #if here in the thread.
I hope that i have helped
Re: expected token: "#endif", but found "-end of file-" -
Kyle_Soul - 17.04.2012
You should put #endif in the very last line
Re: expected token: "#endif", but found "-end of file-" -
MrWorldWide - 07.06.2014
If you dont have
#endif after ''Gamemode by your name'' it will say that.
so it should look like..
Quote:
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
|
Re: expected token: "#endif", but found "-end of file-" -
BroZeus - 07.06.2014
Quote:
Originally Posted by MrWorldWide
If you dont have
#endif after ''Gamemode by your name'' it will say that.
so it should look like..
|
lool
srsly answering an 2 years old thread :rolf:
Re: expected token: "#endif", but found "-end of file-" -
Clergy - 08.06.2014
Just add #endif at the bottom of your script.
Re: expected token: "#endif", but found "-end of file-" -
BroZeus - 08.06.2014
oh god didnt u read what i said above
its a 2 years old thread