Move STRINGIFY to macros.h, use in language.h

This commit is contained in:
Scott Lahteine 2016-03-02 01:28:15 -08:00
parent 2ee599d873
commit 071c742b8a

View file

@ -24,8 +24,8 @@
#define MACROS_H
// Macros to make a string from a macro
#define STRINGIFY_(n) #n
#define STRINGIFY(n) STRINGIFY_(n)
#define STRINGIFY_(M) #M
#define STRINGIFY(M) STRINGIFY_(M)
// Macros for bit masks
#define TEST(n,b) (((n)&_BV(b))!=0)