token.h

coldmud-0.10-3/src/token.h · 257 B

From the archive coldmud-0.10-3.tar.gz

Download the archive   « Back to the archive contents

/* token.h: Declarations for the lexer. */

#ifndef TOKEN_H
#define TOKEN_H
#include <stdio.h>
#include "data.h"

void init_token(void);
void lex_start(Data *code_arg, int lines);
int yylex(void);
int is_valid_ident(char *s);
int cur_lineno(void);

#endif

Site Stats

Snippets: 1791
Codebases: 571