/usr/include/pike8.0/pike/lex.h is in pike8.0-dev 8.0.498-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | /*
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
*/
#ifndef LEX_H
#define LEX_H
#include "program.h"
#if !defined(INCLUDED_FROM_LANGUAGE_YACC) && !defined(TOK_ARROW)
/* language.c duplicates the definitions in language.h.
* language.h is usually not protected against multiple inclusion.
*/
#include "language.h"
#endif
#define NEW_LEX
struct lex
{
char *pos;
char *end;
INT_TYPE current_line;
INT32 pragmas;
node *attributes;
struct pike_string *current_file;
int (*current_lexer)(struct lex *, YYSTYPE *);
};
/* Prototypes begin here */
int parse_esc_seq0 (p_wchar0 *buf, p_wchar2 *chr, ptrdiff_t *len);
int parse_esc_seq1 (p_wchar1 *buf, p_wchar2 *chr, ptrdiff_t *len);
int parse_esc_seq2 (p_wchar2 *buf, p_wchar2 *chr, ptrdiff_t *len);
int parse_esc_seq_pcharp (PCHARP buf, p_wchar2 *chr, ptrdiff_t *len);
int yylex0(struct lex *, YYSTYPE *);
int yylex1(struct lex *, YYSTYPE *);
int yylex2(struct lex *, YYSTYPE *);
/* Prototypes end here */
#endif /* !LEX_H */
|