summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-16 11:23:56 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-16 11:23:56 +0000
commitd0d481d78be7b2adf26289b40b5c53abcc9f7206 (patch)
treeb5637b92895c1d89a6ebec87518678bddc00a55f /gcc/cpplib.h
parent97ae6ad55d84e55171435b6690fede9b881ea807 (diff)
downloadgcc-d0d481d78be7b2adf26289b40b5c53abcc9f7206.tar.gz
* cppmain.c (scan_translation_unit): Don't worry about
putting a space after hashes. * cpplib.c (directive_diagnostics): New. (_cpp_handle_directive): Update to use directive_diagnostics. (run_directive): Don't toggle prevent_expansion. (do_line): Backup in case of the line extension. * cpplib.h (cpp_lexer_pos): Remove. * cppmacro.c (_cpp_create_definition): Precede a leading # with whitespace. * gcc.dg/cpp/line5.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 77199956765..ad7418755a5 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -41,7 +41,6 @@ typedef struct cpp_token cpp_token;
typedef struct cpp_string cpp_string;
typedef struct cpp_hashnode cpp_hashnode;
typedef struct cpp_macro cpp_macro;
-typedef struct cpp_lexer_pos cpp_lexer_pos;
typedef struct cpp_callbacks cpp_callbacks;
struct answer;
@@ -186,13 +185,6 @@ struct cpp_token
} val;
};
-/* The position of a token in the current file. */
-struct cpp_lexer_pos
-{
- unsigned int line;
- unsigned short col;
-};
-
/* A standalone character. We may want to make it unsigned for the
same reason we use unsigned char - to avoid signedness issues. */
typedef int cppchar_t;