This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [WWW] add "bug fix" to codingconventions.html


Ben Elliston wrote:
   <tr>
+    <td>"bug fix"</td>
+    <td>"bugfix" or "bug-fix"</td>
+    <td>"bugfix" isn't a word</td>
+  </tr>
Joseph, can you please advise?
I'm happy with this patch unless Sandra wishes to contradict it.
I think "bug fix" is correct as a noun, but if used as an adjective immediately before the noun it modifies, the normal English convention is to hyphenate such phrases. For example, it is correct to refer to a patch that implements a "bug fix" (unhyphenated noun) as "a bug-fix patch" (hyphenated adjective). I agree that "bugfix" isn't a real word.

OK. May I commit the patch above, then? Then will come the task of identifying breaches of this convention. :-)

Well, to put what I said above into more concrete form, I'd be happier if it said:


<tr>
  <td>"bug fix" (noun) or "bug-fix" (adjective)</td>
  <td>"bugfix"</td>
  <td>"bugfix" isn't a word</td>
</tr>

But you're free to ignore my kibbitzing if you want, of course. :-)

-Sandra


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]