all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master 10a364d: * src/syntax.c: Fix result of syntax_multibyte()
       [not found] ` <E1aZOyx-0000aH-V6@vcs.savannah.gnu.org>
@ 2016-02-28 16:45   ` Stefan Monnier
  2016-02-29 10:09     ` Aurélien Aptel
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2016-02-28 16:45 UTC (permalink / raw)
  To: emacs-devel; +Cc: Aurelien Aptel

> -  return ASCII_CHAR_P (c) || !multibyte_symbol_p ? SYNTAX (c) : Ssymbol;
> +  return (ASCII_CHAR_P (c) || !multibyte_symbol_p) ? SYNTAX (c) : Ssymbol;

According to https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B,
the parentheses shouldn't make any difference.
What am I missing?


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Emacs-diffs] master 10a364d: * src/syntax.c: Fix result of syntax_multibyte()
  2016-02-28 16:45   ` [Emacs-diffs] master 10a364d: * src/syntax.c: Fix result of syntax_multibyte() Stefan Monnier
@ 2016-02-29 10:09     ` Aurélien Aptel
  0 siblings, 0 replies; 2+ messages in thread
From: Aurélien Aptel @ 2016-02-29 10:09 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Aurelien Aptel, Emacs development discussions

On Sun, Feb 28, 2016 at 5:45 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> -  return ASCII_CHAR_P (c) || !multibyte_symbol_p ? SYNTAX (c) : Ssymbol;
>> +  return (ASCII_CHAR_P (c) || !multibyte_symbol_p) ? SYNTAX (c) : Ssymbol;
>
> According to https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B,
> the parentheses shouldn't make any difference.
> What am I missing?

Nothing, I had a brain fart, see [1].

1: http://thread.gmane.org/gmane.emacs.devel/200697



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-29 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160226202723.2206.2187@vcs.savannah.gnu.org>
     [not found] ` <E1aZOyx-0000aH-V6@vcs.savannah.gnu.org>
2016-02-28 16:45   ` [Emacs-diffs] master 10a364d: * src/syntax.c: Fix result of syntax_multibyte() Stefan Monnier
2016-02-29 10:09     ` Aurélien Aptel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.