mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
const in map_scanner_string
This commit is contained in:
parent
f02e471762
commit
0689443ad2
@ -17,7 +17,8 @@
|
|||||||
|
|
||||||
int
|
int
|
||||||
map_scanner_string(struct scanner *scanner,
|
map_scanner_string(struct scanner *scanner,
|
||||||
unsigned char *ident, unsigned char *end, int base_type)
|
const unsigned char *ident, const unsigned char *end,
|
||||||
|
int base_type)
|
||||||
{
|
{
|
||||||
const struct scanner_string_mapping *mappings = scanner->info->mappings;
|
const struct scanner_string_mapping *mappings = scanner->info->mappings;
|
||||||
int length = end - ident;
|
int length = end - ident;
|
||||||
|
@ -190,7 +190,8 @@ skip_scanner_tokens(struct scanner *scanner, int skipto, int precedence);
|
|||||||
* @relates scanner */
|
* @relates scanner */
|
||||||
int
|
int
|
||||||
map_scanner_string(struct scanner *scanner,
|
map_scanner_string(struct scanner *scanner,
|
||||||
unsigned char *ident, unsigned char *end, int base_type);
|
const unsigned char *ident, const unsigned char *end,
|
||||||
|
int base_type);
|
||||||
|
|
||||||
#ifdef DEBUG_SCANNER
|
#ifdef DEBUG_SCANNER
|
||||||
/** @relates scanner */
|
/** @relates scanner */
|
||||||
|
Loading…
Reference in New Issue
Block a user