]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous...
authorJanis Johnson <janis187@us.ibm.com>
Thu, 26 May 2005 21:25:27 +0000 (21:25 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 26 May 2005 21:25:27 +0000 (21:25 +0000)
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
remove extraneous semicolons.

From-SVN: r100229

gcc/testsuite/ChangeLog
gcc/testsuite/lib/obj-c++.exp

index 8f6bd148f65f69a19d16095388aa4e3937a5c26f..41a28015db1e00c8be7e9204c56f9d9c46ccff08 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-26  Janis Johnson  <janis187@us.ibm.com>
+
+       * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
+       remove extraneous semicolons.
+
 2005-05-26  Ziemowit Laski  <zlaski@apple.com>
 
        * obj-c++.dg/comp-types-12.mm: New.
index 2b7c944b5574d4eb44c157079ebc5f65d541df87..e88e011bb2cbdcab36e902170a9fd2d0f94afbda 100644 (file)
@@ -284,11 +284,12 @@ proc obj-c++_init { args } {
 #
 
 proc obj-c++_target_compile { source dest type options } {
-    global tmpdir;
+    global tmpdir
+    global srcdir
     global gpp_compile_options
     global gluefile wrap_flags
-    global ALWAYS_OBJCXXFLAGS;
-    global OBJCXX_UNDER_TEST;
+    global ALWAYS_OBJCXXFLAGS
+    global OBJCXX_UNDER_TEST
 
     lappend options "libs=-lobjc"