diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-02-15 14:30:38 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-02-15 14:30:38 +0000 |
commit | 7501c4e45bd8e7ca6fc36d83dbc4b3ea1772fddc (patch) | |
tree | efe52867ce198bcd7d4dc2ad5dd66b0c94f8a933 /gcc/f/lex.c | |
parent | fb264fec4885521a881dca835f2794636870a10c (diff) | |
download | gcc-7501c4e45bd8e7ca6fc36d83dbc4b3ea1772fddc.zip gcc-7501c4e45bd8e7ca6fc36d83dbc4b3ea1772fddc.tar.gz gcc-7501c4e45bd8e7ca6fc36d83dbc4b3ea1772fddc.tar.bz2 |
c-common.h (GET_DIRECTIVE_LINE): Remove unused macro.
* c-common.h (GET_DIRECTIVE_LINE): Remove unused macro.
(get_directive_line): Remove unused function prototype.
* f/lex.c (ffelex_get_directive_line): Provide a more descriptive
comment. Remove reference to non-existant get_directive_line.
From-SVN: r77850
Diffstat (limited to 'gcc/f/lex.c')
-rw-r--r-- | gcc/f/lex.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/f/lex.c b/gcc/f/lex.c index 8475d2f..9a38ad5 100644 --- a/gcc/f/lex.c +++ b/gcc/f/lex.c @@ -920,7 +920,11 @@ ffelex_finish_statement_ (void) } } -/* Copied from gcc/c-common.c get_directive_line. */ +/* Read a preprocessor directive line from file FINPUT. This function + returns either '\n' or EOF to indicate success or failure respectively. + Upon return, TEXT points to the contents of the line, which is stripped + of initial whitespace. The buffer pointed to by TEXT should not be + free'd and is overwritten by subsequent calls to this function. */ static int ffelex_get_directive_line_ (char **text, FILE *finput) |