2025-10-01 11:25:38 -07:00
|
|
|
/* SPDX-License-Identifier: BSD-2-Clause */
|
|
|
|
|
/* Copyright 1996-2009 The NASM Authors - All Rights Reserved */
|
2009-06-28 17:13:04 -07:00
|
|
|
|
2024-07-24 14:15:35 -07:00
|
|
|
/*
|
2009-06-28 17:13:04 -07:00
|
|
|
* stdscan.h header file for stdscan.c
|
2007-08-30 22:35:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef NASM_STDSCAN_H
|
|
|
|
|
#define NASM_STDSCAN_H
|
2009-10-29 23:09:18 +03:00
|
|
|
|
|
|
|
|
/* Standard scanner */
|
2024-07-24 14:15:35 -07:00
|
|
|
struct stdscan_state;
|
|
|
|
|
|
|
|
|
|
void stdscan_set(const struct stdscan_state *);
|
|
|
|
|
const struct stdscan_state *stdscan_get(void);
|
2024-08-20 12:59:07 -07:00
|
|
|
char * pure_func stdscan_tell(void);
|
2024-07-24 14:15:35 -07:00
|
|
|
void stdscan_reset(char *buffer);
|
|
|
|
|
int stdscan(void *pvt, struct tokenval *tv);
|
|
|
|
|
void stdscan_pushback(const struct tokenval *tv);
|
2007-08-30 22:35:34 +00:00
|
|
|
int nasm_token_hash(const char *token, struct tokenval *tv);
|
|
|
|
|
void stdscan_cleanup(void);
|
|
|
|
|
|
|
|
|
|
#endif
|