aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/syntax.h b/src/syntax.h
index 73fbb153338..63cb0e96139 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -99,7 +99,7 @@ syntax_property_entry (int c, bool via_property)
99INLINE Lisp_Object 99INLINE Lisp_Object
100SYNTAX_ENTRY (int c) 100SYNTAX_ENTRY (int c)
101{ 101{
102 return syntax_property_entry (c, 0); 102 return syntax_property_entry (c, false);
103} 103}
104 104
105/* Extract the information from the entry for character C 105/* Extract the information from the entry for character C
@@ -114,7 +114,7 @@ syntax_property_with_flags (int c, bool via_property)
114INLINE int 114INLINE int
115SYNTAX_WITH_FLAGS (int c) 115SYNTAX_WITH_FLAGS (int c)
116{ 116{
117 return syntax_property_with_flags (c, 0); 117 return syntax_property_with_flags (c, false);
118} 118}
119 119
120INLINE enum syntaxcode 120INLINE enum syntaxcode
@@ -125,7 +125,7 @@ syntax_property (int c, bool via_property)
125INLINE enum syntaxcode 125INLINE enum syntaxcode
126SYNTAX (int c) 126SYNTAX (int c)
127{ 127{
128 return syntax_property (c, 0); 128 return syntax_property (c, false);
129} 129}
130 130
131 131
@@ -146,7 +146,8 @@ extern char const syntax_code_spec[16];
146 for the object recorded in gl_state with SETUP_SYNTAX_TABLE_FOR_OBJECT. 146 for the object recorded in gl_state with SETUP_SYNTAX_TABLE_FOR_OBJECT.
147 147
148 The value is meant for use in code that does nothing when 148 The value is meant for use in code that does nothing when
149 parse_sexp_lookup_properties is 0, so return 0 in that case, for speed. */ 149 parse_sexp_lookup_properties is false, so return 0 in that case,
150 for speed. */
150 151
151INLINE ptrdiff_t 152INLINE ptrdiff_t
152SYNTAX_TABLE_BYTE_TO_CHAR (ptrdiff_t bytepos) 153SYNTAX_TABLE_BYTE_TO_CHAR (ptrdiff_t bytepos)
@@ -172,7 +173,7 @@ INLINE void
172UPDATE_SYNTAX_TABLE_FORWARD (ptrdiff_t charpos) 173UPDATE_SYNTAX_TABLE_FORWARD (ptrdiff_t charpos)
173{ 174{
174 if (parse_sexp_lookup_properties && charpos >= gl_state.e_property) 175 if (parse_sexp_lookup_properties && charpos >= gl_state.e_property)
175 update_syntax_table (charpos + gl_state.offset, 1, 0, gl_state.object); 176 update_syntax_table (charpos + gl_state.offset, 1, false, gl_state.object);
176} 177}
177 178
178/* Make syntax table state (gl_state) good for CHARPOS, assuming it is 179/* Make syntax table state (gl_state) good for CHARPOS, assuming it is
@@ -182,7 +183,7 @@ INLINE void
182UPDATE_SYNTAX_TABLE_BACKWARD (ptrdiff_t charpos) 183UPDATE_SYNTAX_TABLE_BACKWARD (ptrdiff_t charpos)
183{ 184{
184 if (parse_sexp_lookup_properties && charpos < gl_state.b_property) 185 if (parse_sexp_lookup_properties && charpos < gl_state.b_property)
185 update_syntax_table (charpos + gl_state.offset, -1, 0, gl_state.object); 186 update_syntax_table (charpos + gl_state.offset, -1, false, gl_state.object);
186} 187}
187 188
188/* Make syntax table good for CHARPOS. */ 189/* Make syntax table good for CHARPOS. */
@@ -199,7 +200,7 @@ UPDATE_SYNTAX_TABLE (ptrdiff_t charpos)
199INLINE void 200INLINE void
200SETUP_BUFFER_SYNTAX_TABLE (void) 201SETUP_BUFFER_SYNTAX_TABLE (void)
201{ 202{
202 gl_state.use_global = 0; 203 gl_state.use_global = false;
203 gl_state.current_syntax_table = BVAR (current_buffer, syntax_table); 204 gl_state.current_syntax_table = BVAR (current_buffer, syntax_table);
204} 205}
205 206