summaryrefslogtreecommitdiffstats
path: root/contrib/flex/flexdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/flex/flexdef.h')
-rw-r--r--contrib/flex/flexdef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/flex/flexdef.h b/contrib/flex/flexdef.h
index 1f03d5a..d37a509 100644
--- a/contrib/flex/flexdef.h
+++ b/contrib/flex/flexdef.h
@@ -61,7 +61,6 @@ char *alloca ();
#include <setjmp.h>
#include <ctype.h>
#include <string.h>
-#include <math.h>
#endif
#ifdef HAVE_ASSERT_H
#include <assert.h>
@@ -171,6 +170,9 @@ char *alloca ();
*/
#define NUMDATALINES 10
+/* Number of characters to print a line number, i.e., 1 + log10(INT_MAX) */
+#define NUMCHARLINES 10
+
/* transition_struct_out() definitions. */
#define TRANS_STRUCT_PRINT_LENGTH 14
OpenPOWER on IntegriCloud