summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authortimjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-11 01:09:48 +0000
committertimjosling <timjosling@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-11 01:09:48 +0000
commitdf8868bc808334660cb2017aae14de5822e2044b (patch)
treef9984a0475d131cf2f0998748c67c83acd24236a /gcc/treelang
parent6b6672beb27be6029d40983fee5425c8f545b88c (diff)
downloadgcc-df8868bc808334660cb2017aae14de5822e2044b.tar.gz
Minor fix to treelang; Update MAINTAINERS and ChangeLog to reflect this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53375 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog5
-rw-r--r--gcc/treelang/treetree.c16
2 files changed, 21 insertions, 0 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index a0ec15f9c02..92abf8300b5 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-11 Tim Josling <tej@melbpc.org.au>
+
+ * treetree.c: (cpp_define) Add.
+ (cpp_get_callbacks) Add.
+
2002-05-07 Tim Josling <tej@melbpc.org.au>
* treetree.c: (cpp_get_options) Add.
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index 34eb3946ae6..030491515ad 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -1135,6 +1135,22 @@ cpp_options
abort ();
}
+/* Should not be called for treelang. */
+
+void
+cpp_define (cpp_reader * cr ATTRIBUTE_UNUSED, const char * c ATTRIBUTE_UNUSED)
+{
+ abort ();
+}
+
+/* Should not be called for treelang. */
+
+cpp_callbacks *
+cpp_get_callbacks (cpp_reader * cr ATTRIBUTE_UNUSED)
+{
+ abort ();
+}
+
/* Create the predefined scalar types of C,
and some nodes representing standard constants (0, 1, (void *) 0).
Initialize the global binding level.