projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regen.
[bison.git]
/
src
/
system.h
diff --git
a/src/system.h
b/src/system.h
index 0d69e93e32a98c5f360ce1d90c52a88030b01001..5613a92f711777a5ac9fb96ebd37b2ac3d5db392 100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-39,6
+39,7
@@
#include <stdlib.h>
#include <string.h>
+#define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
#define STREQ(L, R) (strcmp(L, R) == 0)
#define STRNEQ(L, R) (!STREQ(L, R))