Files
helmetc/libxtools/clcomp.h
Олег Бородин 0c47735432 renaming
2025-10-12 08:12:00 +02:00

28 lines
471 B
C

/*
*
* Copyright 2023 Oleg Borodin <borodin@unix7.org>
*
*/
#ifndef GCLEXER_H_QWERTY
#define GCLEXER_H_QWERTY
//#include <string.h>
//#include <stdbool.h>
//#include <stdio.h>
#include <cllexer.h>
typedef struct {
char** argv;
int argc;
int argn;
cllexer_t alex;
} clcomp_t;
void clcomp_init(clcomp_t* lexer, char** argv, int argc);
int clcomp_gettok(clcomp_t* lexer, char* token);
void clcomp_destroy(clcomp_t* clcomp);
#endif