summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-19 16:08:36 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-19 16:08:36 -0700
commit593cdef2b00e4d4ca5a182aee2dc863cc4f1e449 (patch)
treeeb330cfbbf982a0dad90ed98ed92420b003cd539
parent1aaa302b921816339ed347716916334c48bb9568 (diff)
downloadcrawl-ref-593cdef2b00e4d4ca5a182aee2dc863cc4f1e449.tar.gz
crawl-ref-593cdef2b00e4d4ca5a182aee2dc863cc4f1e449.zip
levcomp: regenerated due to luadgn.h disappearance
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r--crawl-ref/source/prebuilt/levcomp.lex.cc30
-rw-r--r--crawl-ref/source/prebuilt/levcomp.tab.cc2
2 files changed, 9 insertions, 23 deletions
diff --git a/crawl-ref/source/prebuilt/levcomp.lex.cc b/crawl-ref/source/prebuilt/levcomp.lex.cc
index 3ddd25ea68..0a004146c0 100644
--- a/crawl-ref/source/prebuilt/levcomp.lex.cc
+++ b/crawl-ref/source/prebuilt/levcomp.lex.cc
@@ -54,6 +54,7 @@ typedef int flex_int32_t;
typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
+#endif /* ! C99 */
/* Limits of integral types. */
#ifndef INT8_MIN
@@ -84,8 +85,6 @@ typedef unsigned int flex_uint32_t;
#define UINT32_MAX (4294967295U)
#endif
-#endif /* ! C99 */
-
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
@@ -142,15 +141,7 @@ typedef unsigned int flex_uint32_t;
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k.
- * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
- * Ditto for the __ia64__ case accordingly.
- */
-#define YY_BUF_SIZE 32768
-#else
#define YY_BUF_SIZE 16384
-#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
@@ -1723,7 +1714,7 @@ static void cattext(bool trim_right = false, int strip_trailing = 0)
-#line 1727 "levcomp.lex.cc"
+#line 1718 "levcomp.lex.cc"
#define INITIAL 0
#define MAPDEF 1
@@ -1811,12 +1802,7 @@ static int input (void );
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k */
-#define YY_READ_BUF_SIZE 16384
-#else
#define YY_READ_BUF_SIZE 8192
-#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
@@ -1824,7 +1810,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
-#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+#define ECHO fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
@@ -1835,7 +1821,7 @@ static int input (void );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
- size_t n; \
+ int n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
@@ -1923,7 +1909,7 @@ YY_DECL
#line 133 "levcomp.lpp"
-#line 1927 "levcomp.lex.cc"
+#line 1913 "levcomp.lex.cc"
if ( !(yy_init) )
{
@@ -2472,7 +2458,7 @@ YY_RULE_SETUP
#line 281 "levcomp.lpp"
ECHO;
YY_BREAK
-#line 2476 "levcomp.lex.cc"
+#line 2462 "levcomp.lex.cc"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(MAPDEF):
case YY_STATE_EOF(LUA):
@@ -3245,8 +3231,8 @@ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
* scan from a @e copy of @a bytes.
- * @param yybytes the byte buffer to scan
- * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ * @param bytes the byte buffer to scan
+ * @param len the number of bytes in the buffer pointed to by @a bytes.
*
* @return the newly allocated buffer state object.
*/
diff --git a/crawl-ref/source/prebuilt/levcomp.tab.cc b/crawl-ref/source/prebuilt/levcomp.tab.cc
index c2b21653f6..fe3b7b02c7 100644
--- a/crawl-ref/source/prebuilt/levcomp.tab.cc
+++ b/crawl-ref/source/prebuilt/levcomp.tab.cc
@@ -166,8 +166,8 @@
#include "AppHdr.h"
#include "clua.h"
+#include "dlua.h"
#include "libutil.h"
-#include "luadgn.h"
#include "mapdef.h"
#include "maps.h"
#include "stuff.h"