From 31c830503b480498449db3eb61daff50c2732da5 Mon Sep 17 00:00:00 2001 From: Jeff Downs Date: Wed, 3 May 2017 15:22:51 +0000 Subject: [PATCH] Support escaping special characters in specs 2017-05-03 Jeff Downs Rainer Orth * gcc.c (handle_braces): Support escaping in switch matching text. * doc/invoke.texi (Spec Files): Document it. Remove superfluous @code markup in items. Co-Authored-By: Rainer Orth From-SVN: r247552 --- gcc/ChangeLog | 8 ++++++++ gcc/doc/invoke.texi | 35 +++++++++++++++++++++-------------- gcc/gcc.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 78 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dbd170c..92a4e39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-05-03 Jeff Downs + Rainer Orth + + * gcc.c (handle_braces): Support escaping in switch matching + text. + * doc/invoke.texi (Spec Files): Document it. + Remove superfluous @code markup in items. + 2017-05-03 David Malcolm * diagnostic-show-locus.c (struct column_range): New struct. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 65308c9..ec7b9aa 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -26239,7 +26239,7 @@ Substitute the variable part of a matched option. See below. Note that each comma in the substituted string is replaced by a single space. -@item %<@code{S} +@item %