PostgreSQL Source Code
git master
|
#include "c.h"
#include <err.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "indent_globs.h"
#include "indent_codes.h"
#include "indent.h"
Go to the source code of this file.
Data Structures | |
struct | templ |
Macros | |
#define | alphanum 1 |
Functions | |
static int | strcmp_type (const void *e1, const void *e2) |
static int | is_func_definition (char *tp) |
int | lexi (struct parser_state *state) |
void | alloc_typenames (void) |
void | add_typename (const char *key) |
Variables | |
struct templ | specials [] |
const char ** | typenames |
int | typename_count |
int | typename_top = -1 |
char | chartype [128] |
void add_typename | ( | const char * | key | ) |
Definition at line 687 of file lexi.c.
References err(), sort-test::key, realloc, typename_count, typename_top, and typenames.
Referenced by add_typedefs_from_file(), and set_option().
void alloc_typenames | ( | void | ) |
|
static |
Definition at line 160 of file lexi.c.
References buf_end, lookahead(), and lookahead_reset().
Referenced by lexi().
int lexi | ( | struct parser_state * | state | ) |
Definition at line 216 of file lexi.c.
References alphanum, auto_typedefs, BACKSLASH, binary_op, buf_end, buf_ptr, casestmt, chartype, CHECK_SIZE_TOKEN, colon, comma, comment, decl, diag2(), e_token, fill_buffer(), form_feed, funcname, had_eof, ident, is_func_definition(), lbrace, len, line_no, lparen, newline, period, postop, preesc, question, rbrace, rparen, templ::rwcode, s_token, semicolon, sp_nparen, sp_paren, specials, storage, strcmp_type(), strpfx, structure, swstmt, token, type_def, typename_top, typenames, and unary_op.
Referenced by main().
|
static |
char chartype[128] |
Definition at line 119 of file lexi.c.
Referenced by lexi().
int typename_count |
Definition at line 116 of file lexi.c.
Referenced by add_typename(), and alloc_typenames().
int typename_top = -1 |
Definition at line 117 of file lexi.c.
Referenced by add_typename(), and lexi().
const char** typenames |
Definition at line 115 of file lexi.c.
Referenced by add_typename(), alloc_typenames(), get_object_address_opf_member(), lexi(), type_in_list_does_not_exist_skipping(), and TypeNameListToString().