Skip to content

Commit

Permalink
Clean up snek-lex.c references in snek.h
Browse files Browse the repository at this point in the history
These were split into snek-lex.l and snek-lex.c sections

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed May 30, 2019
1 parent ca601a5 commit f8c88cc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions snek.h
Expand Up @@ -566,7 +566,7 @@ snek_func_mark(void *addr);
void
snek_func_move(void *addr);

/* snek-lex.l */
/* snek-lex.c */

extern uint8_t snek_current_indent;
extern char *snek_file;
Expand All @@ -577,6 +577,9 @@ extern bool snek_parse_middle;
extern bool snek_interactive;
extern char snek_lex_text[];

token_t
snek_lex(void);

/* snek-list.c */

extern snek_list_t *snek_empty_tuple;
Expand Down Expand Up @@ -631,13 +634,6 @@ snek_poly_t
snek_list_build(snek_list_type_t type, snek_offset_t size, ...);
#endif

/* snek-lex.c */

extern uint8_t snek_lex_indent;

token_t
snek_lex(void);

/* snek-memory.c */

#define SNEK_COLLECT_FULL 0
Expand Down

0 comments on commit f8c88cc

Please sign in to comment.