Edit

kc3-lang/libxkbcommon/src/xkbcomp/parser-priv.h

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-07-07 12:28:24
    Hash : dc63e5f8
    Message : Ensure config.h is always included first While `config.h` may not be necessary in every file, it ensures consistency and makes code refactoring safer.

  • src/xkbcomp/parser-priv.h
  • /*
     * Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
     * SPDX-License-Identifier: HPND
     */
    #pragma once
    
    #include "config.h"
    
    struct parser_param;
    struct scanner;
    
    #include "scanner-utils.h"
    #include "parser.h"
    
    int
    _xkbcommon_lex(YYSTYPE *yylval, struct scanner *scanner);
    
    XkbFile *
    parse(struct xkb_context *ctx, struct scanner *scanner, const char *map);
    
    int
    keyword_to_token(const char *string, size_t len);