[Tool/Web/Other] Check the script for curly bracket mistakes (linux)
#3

Quote:
Originally Posted by Y_Less
View Post
How does it deal with code like:

Code:
#if A
    Func(a) {
#else
    Func(b) {
#endif


    }
I didn't know about this kind of thing in pawno. Does it exist? If so then I would use another regex and I would add an extra block for it to check it so there won't be a mistake. My current code can't deal with it at the moment.
I always thought: If there's an opening bracket, then there must be a closing bracket.
Have to add it then. Thx Y_Less.
Reply


Messages In This Thread
Check the script for curly bracket mistakes (linux) - by Doddinger - 05.04.2019, 17:37
Re: Check the script for curly bracket mistakes (linux) - by Doddinger - 05.04.2019, 17:40
Re: Check the script for curly bracket mistakes (linux) - by Doddinger - 05.04.2019, 17:49
Re: Check the script for curly bracket mistakes (linux) - by Doddinger - 05.04.2019, 17:53
Re: Check the script for curly bracket mistakes (linux) - by Doddinger - 07.04.2019, 09:21
Re: Check the script for curly bracket mistakes (linux) - by Doddinger - 12.04.2019, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)