git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: fix some typos

From
Chris Torek <chris.torek@gmail.com>
Date
Jan 3, 2021, 14:50 UTC
Message-ID
<CAPx1Gvd=zL4VWUY2GJHfuLh19H_=ePj22aYfyh9rhwyQRFJ-hg@mail.gmail.com>
In-Reply-To
<5ff0f31315732_a76d20833@natae.notmuch>

On Sat, Jan 2, 2021 at 2:31 PM Felipe Contreras <felipe.contreras@gmail.com> wrote:

> But this works:
>
> #error "might or mightn't work"
Right: the rule here is that the preprocessor, even inside "#if 0"
sections, is working with "pp-token"s.  Single quotes are still
character constants and must be paired.  Double quotes are still
string constants (token-wise) and also must be paired like this,
but now you can hide apostrophes.
Chris
Previous: Felipe ContrerasNext: Thomas Ackermann via GitGitGadget
Message 6 of 9 in “doc: fix some typos”
  1. doc: fix some typosThomas Ackermann via GitGitGadget, Jan 2, 2021
  2. Martin ÅgrenJan 2, 2021
  3. Felipe ContrerasJan 2, 2021
  4. Martin ÅgrenJan 2, 2021
  5. Felipe ContrerasJan 2, 2021
  6. Chris TorekJan 3, 2021
  7. doc: fix some typosThomas Ackermann via GitGitGadget, Jan 3, 2021
  8. Martin ÅgrenJan 3, 2021
  9. Junio C HamanoJan 6, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.