Posts: 15,941
	Threads: 0
	Joined: Jun 2008
	
	
 
	
	
		I'm impressed - this is the closest I've ever seen anyone get to writing an accurate brace counter.  But there are still two problems:
1) You called it a "bracket" counter.  These are brackets: (), these are braces: {}.
2)
pawn Code:
{
#if SOMETHING
}
#else
}
#endif
 
	 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 2,938
	Threads: 162
	Joined: May 2010
	
	
 
	
	
		Amazing how it ignores comments
But the 'error between line x and y' is a bit bugged, but this is very useful