diff --git a/tagmanager/ctags/vstring.h b/tagmanager/ctags/vstring.h index b88b511b..23ff123b 100644 --- a/tagmanager/ctags/vstring.h +++ b/tagmanager/ctags/vstring.h @@ -33,6 +33,7 @@ #define vStringValue(vs) ((vs)->buffer) #define vStringItem(vs,i) ((vs)->buffer[i]) +#define vStringLast(vs) ((vs)->buffer[(vs)->length - 1]) #define vStringLength(vs) ((vs)->length) #define vStringSize(vs) ((vs)->size) #define vStringCat(vs,s) vStringCatS((vs), vStringValue((s)))