X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fline-buffer.h;h=ee3db55905f1507c7e8807a902164533d82deed4;hb=a1a4228b112a6aca97fef5aaaf9ffa21271a1f72;hp=db9076c55ef58296fc49f6381f8cb65a1611d61a;hpb=618a58ebb4c59dff83374278e44b7375b3865935;p=pspp-builds.git diff --git a/src/language/line-buffer.h b/src/language/line-buffer.h index db9076c5..ee3db559 100644 --- a/src/language/line-buffer.h +++ b/src/language/line-buffer.h @@ -31,9 +31,6 @@ enum getl_prompt_style GETL_PROMPT_CNT }; -/* Current line. This line may be modified by modules other than - getl.c, and by lexer.c in particular. (Ugh.) */ -extern struct string getl_buf; void getl_initialize (void); void getl_uninitialize (void); @@ -64,5 +61,9 @@ void getl_set_prompt_style (enum getl_prompt_style); struct msg_locator; void get_msg_location (struct msg_locator *loc); +void getl_location (const char **fn, int *ln); + +bool do_read_line (struct string *line, bool *interactive); + #endif /* line-buffer.h */