[IDEA] Missing bracklets detector
#1

The title says everything, make a script that detects the missing bracklets and say the line of the opening bracklet.
Good luck.
Reply
#2

I will get right on that.
Reply
#3

You must be kidding me.
Reply
#4

Quote:
Originally Posted by Finn
You must be kidding me.
I thought that, too. Finding missing brackets is easiest thing on the world
Reply
#5

Not a script, but there are some scripting IDEs (pawno is one for example) that show you where brackets start and ends, and you can easily spot missing brackets.

"SA-MP Editor" has this feature. The problem is that it isn't very stable, but if you use it just for this, you are good.
Here is the download link:
http://files.uploadffs.com/6/6239693d/samp_editor.rar
Reply
#6

Some ways of detecting this that I have used.

1. Uncrustify, finds the exact location of all bracket errors. Came real helpful to me.
2. Renaming a copy of the script to ***.pawn and compiling with the pawn compiler. Many "pawno compiler crash" bugs only crash with the pawno compiler, but show you the location of the error in Pawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)