X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Flexer.h;fp=src%2Flanguage%2Flexer%2Flexer.h;h=c367bbb116b776281f693a706da2657f27734cba;hb=c1629e9b28338e59f9e4c027f3792a9419840a2c;hp=2ffd01c3e26a57f081bec67d7e53b1e9876a0a6a;hpb=f89de8c330e8f82f0e7195c4d35588cfcbdd02fc;p=pspp-builds.git diff --git a/src/language/lexer/lexer.h b/src/language/lexer/lexer.h index 2ffd01c3..c367bbb1 100644 --- a/src/language/lexer/lexer.h +++ b/src/language/lexer/lexer.h @@ -35,7 +35,7 @@ extern struct string tokstr; #include /* Initialization. */ -void lex_init (void); +void lex_init (bool (*)(struct string *, bool*)); void lex_done (void); /* Common functions. */ @@ -71,13 +71,14 @@ void lex_put_back_id (const char *tokid); /* Weird line processing functions. */ const char *lex_entire_line (void); +const struct string *lex_entire_line_ds (void); const char *lex_rest_of_line (int *end_dot); void lex_discard_line (void); -void lex_set_prog (char *p); void lex_discard_rest_of_command (void); /* Weird line reading functions. */ bool lex_get_line (void); +bool lex_get_line_raw (void); /* Token names. */ const char *lex_token_name (int);