]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/syntax.c: Fix result of syntax_multibyte()
authorAurelien Aptel <aaptel@suse.com>
Fri, 26 Feb 2016 19:34:40 +0000 (20:34 +0100)
committerAurelien Aptel <aaptel@suse.com>
Fri, 26 Feb 2016 20:22:23 +0000 (21:22 +0100)
The ?: operator has a lower precedence than ||.
Bug introduced by commit 45b683a.

src/syntax.c

index 249d0d58bc6e594448ece9ebc8e42ea7b22e37ed..9fc76a6304511d5e09b424059ef4087477329324 100644 (file)
@@ -2637,7 +2637,7 @@ between them, return t; otherwise return nil.  */)
 static enum syntaxcode
 syntax_multibyte (int c, bool multibyte_symbol_p)
 {
-  return ASCII_CHAR_P (c) || !multibyte_symbol_p ? SYNTAX (c) : Ssymbol;
+  return (ASCII_CHAR_P (c) || !multibyte_symbol_p) ? SYNTAX (c) : Ssymbol;
 }
 
 static Lisp_Object