• Home
  • Raw
  • Download

Lines Matching refs:to

35 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
96 /* C99 requires __STDC__ to be defined as 1. */
113 /* Promotes a possibly negative, possibly signed char to an unsigned
115 * we want to instead treat it as an 8-bit unsigned char, hence the
120 /* Enter a start condition. This macro really ought to take a parameter,
127 * to BEGIN to return to the state. The YYSTATE alias is for lex
146 /* The state buf must be large enough to hold one state per character in the main buffer.
165 /* Return all but the first "n" matched characters back to the input stream. */
206 * and can realloc() it to grow it, and should free() it to
212 * if we're using stdio for input, then we want to use getc()
213 * instead of fread(), to make sure we stop fetching input after
218 /* Whether we're considered to be at the beginning of a line.
227 /* Whether to try to fill the input buffer when we reach the
236 /* When an EOF's been seen but there's still some text to process
237 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
239 * still have a bunch of tokens to match, though, because of
242 * When we actually see the EOF, we change the status to "new"
257 * future we want to put the buffer states in a more general
276 /* Points to current character in buffer. */
278 static int yy_init = 0; /* whether we need to initialize */
281 /* Flag which is used to allow yywrap()'s to do buffer switches
558 along with this program; if not, write to the Free Software Foundation,
580 * down here because we want the user's section 1 to have been scanned first.
581 * The user has a chance to override it with an option.
592 /* Accessor methods to globals.
593 These are made visible to non-reentrant scanners for convenience. */
653 /* Amount of stuff to slurp up with each read. */
658 /* Copy whatever the last rule matched to the standard output. */
660 /* This used to be an fputs(), but since the string might contain NUL's,
702 /* No semi-colon after return; correct usage is to write "yyterminate();" -
704 * some compilers to complain about unreachable statements.
794 /* yy_bp points to the position in yy_ch_buf of the start of
824 { /* have to back up */
832 do_action: /* This label is used only to access EOF actions. */
879 parse expressions, but we do want whitespace to be arranged
923 * yylex(). If so, then we have to assure
925 * globals. Here is the right place to do so, because
934 /* Note that here we test for yy_c_buf_p "<=" to the position
937 * (since all states make transitions on EOB to the
949 /* Okay, we're now positioned to make the NUL
952 * for us because it doesn't know how to deal
954 * want to build jamming into it because then it
986 * yy_get_next_buffer() to have set up
989 * hoser (like flex itself) wants to
1038 /* yy_get_next_buffer - try to read in a new buffer
1057 { /* Don't try to fill the buffer, so this is an EOF. */
1068 /* We matched some text prior to the EOB, first
1075 /* Try to read more data. */
1077 /* First move last chars to start of buffer. */
1084 /* don't do the read, it's not guaranteed to return an EOF,
1207 /* yy_try_NUL_trans - try to make a transition on the NUL character
1245 { /* need to shift things up to make room */
1286 /* yy_c_buf_p now points to the character we want to return.
1304 * token and flags that we need to
1307 * there's no matching to consider.
1309 * to EOB_ACT_END_OF_FILE.
1348 /** Immediately switch to a different input stream.
1351 * @note This function does not reset the start condition to @c INITIAL .
1366 /** Switch to a different input buffer.
1373 /* TODO. We should be able to replace this entire function body
1396 * to go ahead and always set it.
1425 /* yy_ch_buf has to be 2 characters longer than the size given because
1426 * we need to put in 2 end-of-buffer characters.
1478 * In that case, we don't want to reset the lineno or column.
1491 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1502 * a transition to the end-of-buffer state. The second causes
1579 * scanner will even need a stack. We use 2 instead of 1 to avoid an
1598 /* Increase the buffer to prepare for a possible push. */
1615 /** Setup the input buffer state to scan directly from a user-specified character buffer.
1628 /* They forgot to leave room for the EOB's. */
1635 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
1650 /** Setup the input buffer state to scan a string. The next call to yylex() will
1652 * @param yystr a NUL-terminated string to scan
1655 * @note If you want to scan bytes that may contain NUL values, then use
1664 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1666 * @param bytes the byte buffer to scan
1667 * @param len the number of bytes in the buffer pointed to by @a bytes.
1693 /* It's okay to grow etc. this buffer, and we should throw it
1728 /* Accessor methods (get/set functions) to struct members. */
1889 /* The cast to (char *) in the following accommodates both
1893 * any pointer type to void*, and deal with argument conversions
1910 /* Macros to append to our phrase collection list. */
1913 * We mark any token, that that equals to a known enumerator, as
1935 of the parser to tailor the tokens that are returned. */