Skip to content
Snippets Groups Projects
Select Git revision
  • dedf7c163240454e0fceb7946764ea30187f751c
  • master default protected
  • 8.0
  • nt-tools
  • 9.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2018
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
41 results

protocols.wmml

Blame
  • lex.h 1.05 KiB
    /*
    || 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.
    || $Id: lex.h,v 1.37 2008/05/01 20:39:40 mast Exp $
    */
    
    #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;
      INT32 current_line;
      INT32 pragmas;
      struct pike_string *current_file;
      int (*current_lexer)(struct lex *, YYSTYPE *);
    };
    
    /* Prototypes begin here */
    
    int parse_esc_seq0 (p_wchar0 *buf, unsigned *chr, ptrdiff_t *len);
    int parse_esc_seq1 (p_wchar1 *buf, unsigned *chr, ptrdiff_t *len);
    int parse_esc_seq2 (p_wchar2 *buf, unsigned *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 */