14.05.2014, 14:20
Might want an ability to exclude files and have authors specify them manually. I doubt people will want a hundred "@Aa", "@Ab", "@Ac" etc macros in auto-complete just for includnig y_stringhash for example. Or:
Similar to the:
Trick used to add functions to PAWNO, but with the compiler seeing them and the parser not.
Anyway, I'll have a look at the source and see what I can do.
Didn't you already write a JavaScript PAWN tokeniser, would it not make sense to use that?
pawn Code:
/*
NOPARSE
*/
#define @Aa:H_Naa(%1a%0)%7||| H_Da(%1,a,%0,97)%7|||
#define @Ab:H_Nab(%1b%0)%7||| H_Da(%1,b,%0,98)%7|||
#define @Ac:H_Nac(%1c%0)%7||| H_Da(%1,c,%0,99)%7|||
#define @Ad:H_Nad(%1d%0)%7||| H_Da(%1,d,%0,100)%7|||
#define @Ae:H_Nae(%1e%0)%7||| H_Da(%1,e,%0,101)%7|||
#define @Af:H_Naf(%1f%0)%7||| H_Da(%1,f,%0,102)%7|||
// ...
/*
PARSE
*/
pawn Code:
/*
native Func(a);
*/
Anyway, I'll have a look at the source and see what I can do.
Didn't you already write a JavaScript PAWN tokeniser, would it not make sense to use that?