projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a66a10c
)
(strip_off_ending): Add .atr for Ada.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 11 Apr 1993 19:22:53 +0000
(15:22 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 11 Apr 1993 19:22:53 +0000
(15:22 -0400)
From-SVN: r4086
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index b2eebbdce6f52805ff3da4943a334db2731039aa..a0108b8eb36108f3402a69586734601759ca9ed0 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-1473,6
+1473,8
@@
strip_off_ending (name, len)
name[len - 2] = 0;
else if (len > 4 && ! strcmp (".ada", name + len - 4))
name[len - 4] = 0;
+ else if (len > 4 && ! strcmp (".atr", name + len - 4))
+ name[len - 4] = 0;
}
/* Output a file name in the form wanted by System V. */