~ubuntu-branches/ubuntu/vivid/drizzle/vivid

« back to all changes in this revision

Viewing changes to drizzled/execute/scanner.cc

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-10-29 15:43:40 UTC
  • mfrom: (20.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131029154340-j36v7gxq9tm1gi5f
Tags: 1:7.2.3-2ubuntu1
* Merge from debian, remaining changes:
  - Link against boost_system because of boost_thread.
  - Add required libs to message/include.am
  - Add upstart job and adjust init script to be upstart compatible.
  - Disable -floop-parallelize-all due to gcc-4.8/4.9 compiler ICE
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57732

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
typedef unsigned char flex_uint8_t; 
100
100
typedef unsigned short int flex_uint16_t;
101
101
typedef unsigned int flex_uint32_t;
102
 
#endif /* ! C99 */
103
102
 
104
103
/* Limits of integral types. */
105
104
#ifndef INT8_MIN
130
129
#define UINT32_MAX             (4294967295U)
131
130
#endif
132
131
 
 
132
#endif /* ! C99 */
 
133
 
133
134
#endif /* ! FLEXINT_H */
134
135
 
135
136
/* %endif */
221
222
 
222
223
/* Size of default input buffer. */
223
224
#ifndef YY_BUF_SIZE
 
225
#ifdef __ia64__
 
226
/* On IA-64, the buffer size is 16k, not 8k.
 
227
 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
 
228
 * Ditto for the __ia64__ case accordingly.
 
229
 */
 
230
#define YY_BUF_SIZE 32768
 
231
#else
224
232
#define YY_BUF_SIZE 16384
 
233
#endif /* __ia64__ */
225
234
#endif
226
235
 
227
236
/* The state buf must be large enough to hold one state per character in the main buffer.
646
655
#define YY_INPUT(buffer, result, max_size) get_lex_chars(buffer, result, max_size, PARAM)
647
656
 
648
657
#define YY_NO_UNISTD_H 1
649
 
#line 650 "drizzled/execute/scanner.cc"
 
658
#line 659 "drizzled/execute/scanner.cc"
650
659
 
651
660
#define INITIAL 0
652
661
 
754
763
 
755
764
void execute_set_lineno (int line_number ,yyscan_t yyscanner );
756
765
 
757
 
int execute_get_column  (yyscan_t yyscanner );
758
 
 
759
 
void execute_set_column (int column_no ,yyscan_t yyscanner );
760
 
 
761
766
/* %if-bison-bridge */
762
767
 
763
768
YYSTYPE * execute_get_lval (yyscan_t yyscanner );
812
817
 
813
818
/* Amount of stuff to slurp up with each read. */
814
819
#ifndef YY_READ_BUF_SIZE
 
820
#ifdef __ia64__
 
821
/* On IA-64, the buffer size is 16k, not 8k */
 
822
#define YY_READ_BUF_SIZE 16384
 
823
#else
815
824
#define YY_READ_BUF_SIZE 8192
 
825
#endif /* __ia64__ */
816
826
#endif
817
827
 
818
828
/* Copy whatever the last rule matched to the standard output. */
836
846
        if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
837
847
                { \
838
848
                int c = '*'; \
839
 
                unsigned n; \
 
849
                size_t n; \
840
850
                for ( n = 0; n < max_size && \
841
851
                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
842
852
                        buf[n] = (char) c; \
949
959
#line 120 "drizzled/execute/scanner.l"
950
960
 
951
961
 
952
 
#line 953 "drizzled/execute/scanner.cc"
 
962
#line 963 "drizzled/execute/scanner.cc"
953
963
 
954
964
    yylval = yylval_param;
955
965
 
1094
1104
#line 137 "drizzled/execute/scanner.l"
1095
1105
ECHO;
1096
1106
        YY_BREAK
1097
 
#line 1098 "drizzled/execute/scanner.cc"
 
1107
#line 1108 "drizzled/execute/scanner.cc"
1098
1108
case YY_STATE_EOF(INITIAL):
1099
1109
        yyterminate();
1100
1110
 
1926
1936
/* %if-c-only */
1927
1937
/** Setup the input buffer state to scan the given bytes. The next call to execute_lex() will
1928
1938
 * scan from a @e copy of @a bytes.
1929
 
 * @param bytes the byte buffer to scan
1930
 
 * @param len the number of bytes in the buffer pointed to by @a bytes.
 
1939
 * @param yybytes the byte buffer to scan
 
1940
 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
1931
1941
 * @param yyscanner The scanner object.
1932
1942
 * @return the newly allocated buffer state object.
1933
1943
 */