Patchwork [Ada] Remove support for obsolete switch

login
register
mail settings
Submitter Eric Botcazou
Date Oct. 10, 2010, 5:04 p.m.
Message ID <201010101904.47810.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/67355/
State New
Headers show

Comments

Eric Botcazou - Oct. 10, 2010, 5:04 p.m.
> Then you should also remove the gdwarf+ special case in
> opt-functions.awk:opt_sanitized_name.

Indeed, thanks for pointing this out.  Applied on the mainline as obvious.


	* opt-functions.awk (opt_sanitized_name): Remove gdwarf+ handling.

Patch

Index: opt-functions.awk
===================================================================
--- opt-functions.awk	(revision 165234)
+++ opt-functions.awk	(working copy)
@@ -204,8 +204,6 @@  function var_ref(name, flags)
 # Given the option called NAME return a sanitized version of its name.
 function opt_sanitized_name(name)
 {
-	if (name == "gdwarf+")
-		name = "gdwarfplus"
 	gsub ("[^A-Za-z0-9]", "_", name)
 	return name
 }