AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   EXPECTED TOKEN (https://forums.alliedmods.net/showthread.php?t=134988)

totalcsscripting 08-11-2010 00:39

EXPECTED TOKEN
 
what does this error means.

Expected token: ";", but found public on line...

fysiks 08-11-2010 01:55

Re: EXPECTED TOKEN
 
Quote:

Originally Posted by totalcsscripting (Post 1267867)
what does this error means.

Expected token: ";", but found public on line...

It means that it was expecting the semi-colon character but found something else. If you can't figure it out, show the WHOLE error and the WHOLE code.

Zpoke 08-11-2010 12:26

Re: EXPECTED TOKEN
 
post the line that has that ERROR..

DarkGod 08-11-2010 12:49

Re: EXPECTED TOKEN
 
I'd say post the line before the one with the error.

totalcsscripting 08-11-2010 18:01

Re: EXPECTED TOKEN
 
the pluguin y was modyfing had a #pragma semicolon1. I errase it and compile perfectly.


Why was there a pragma?

drekes 08-11-2010 18:14

Re: EXPECTED TOKEN
 
Some people (including me) like to add semicolons after every line.
I started doing it when i started learning C++.


All times are GMT -4. The time now is 21:53.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.