[PATCH] Fix testsuire error message
authorNathan Sidwell <nathan@acm.org>
Fri, 3 Nov 2017 14:18:01 +0000 (14:18 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 3 Nov 2017 14:18:01 +0000 (14:18 +0000)
https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00196.html
* lib/scanlang.exp: Fix error message to refer to scan-lang-dump.

From-SVN: r254375

gcc/testsuite/ChangeLog
gcc/testsuite/lib/scanlang.exp

index e40224e5564498f416cea7d216f14a6fcad7a6df..f8754d435817145ab3d60eaf743b48a82363d1ca 100644 (file)
@@ -1,5 +1,7 @@
 2017-11-03  Nathan Sidwell  <nathan@acm.org>
 
+       * lib/scanlang.exp: Fix error message to refer to scan-lang-dump.
+
        PR c++/82710
        * g++.dg/warn/pr82710.C: More cases.
 
index 796214385c844512fa2f28b442acb15d7f348c64..729d3069c2a599e9f67a31c328451fb74ee7f139 100644 (file)
@@ -28,11 +28,11 @@ load_lib scandump.exp
 proc scan-lang-dump { args } {
 
     if { [llength $args] < 2 } {
-       error "scan-tree-dump: too few arguments"
+       error "scan-lang-dump: too few arguments"
        return
     }
     if { [llength $args] > 3 } {
-       error "scan-tree-dump: too many arguments"
+       error "scan-lang-dump: too many arguments"
        return
     }
     if { [llength $args] >= 3 } {