]> granicus.if.org Git - flex/commitdiff
scanner: Remove unused BASENAME() macro.
authorExplorer09 <explorer09@gmail.com>
Fri, 13 Oct 2017 16:47:54 +0000 (00:47 +0800)
committerWill Estes <westes575@gmail.com>
Fri, 3 Nov 2017 22:41:16 +0000 (18:41 -0400)
(Simply forgot to do so in commit fb731ac0221e1866534dfe072b84b8af7a5d88f3)

src/flexdef.h

index ffc3e477cdf094961d8f8b7789f7c3e46116ca3a..b4981c46c94be759afd88777657875d8599da00b 100644 (file)
@@ -45,7 +45,6 @@
 #include <setjmp.h>
 #include <ctype.h>
 #include <string.h>
-#define BASENAME(p)   strrchr(p, '/') ? strrchr(p, '/') + 1 : strrchr(p, '\\') ? strrchr(p, '\\') + 1 : p
 #include <math.h>
 
 #ifdef HAVE_ASSERT_H