aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorTom Tromey2018-08-09 17:56:53 -0600
committerTom Tromey2018-08-09 17:56:53 -0600
commitaccb7b7ecc19f85c2750ded1046a464bc73c6a52 (patch)
tree1aa94af022d6700a93a8ff2b73f5b210046ac010 /src/syntax.c
parentf822a2516d88eeb2118fbbc8554f155e86dfd74e (diff)
parent53483df0de0085dbc9ef0b15a0f629ab808b0147 (diff)
downloademacs-accb7b7ecc19f85c2750ded1046a464bc73c6a52.tar.gz
emacs-accb7b7ecc19f85c2750ded1046a464bc73c6a52.zip
Merge remote-tracking branch 'origin/master' into feature/bignum
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/syntax.c b/src/syntax.c
index ee83ed070a0..a9bc36ae9f2 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -23,7 +23,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
23#include "lisp.h" 23#include "lisp.h"
24#include "character.h" 24#include "character.h"
25#include "buffer.h" 25#include "buffer.h"
26#include "regex.h" 26#include "regex-emacs.h"
27#include "syntax.h" 27#include "syntax.h"
28#include "intervals.h" 28#include "intervals.h"
29#include "category.h" 29#include "category.h"
@@ -267,9 +267,10 @@ SETUP_SYNTAX_TABLE (ptrdiff_t from, ptrdiff_t count)
267 If it is t (which is only used in fast_c_string_match_ignore_case), 267 If it is t (which is only used in fast_c_string_match_ignore_case),
268 ignore properties altogether. 268 ignore properties altogether.
269 269
270 This is meant for regex.c to use. For buffers, regex.c passes arguments 270 This is meant for regex-emacs.c to use. For buffers, regex-emacs.c
271 to the UPDATE_SYNTAX_TABLE functions which are relative to BEGV. 271 passes arguments to the UPDATE_SYNTAX_TABLE functions which are
272 So if it is a buffer, we set the offset field to BEGV. */ 272 relative to BEGV. So if it is a buffer, we set the offset field to
273 BEGV. */
273 274
274void 275void
275SETUP_SYNTAX_TABLE_FOR_OBJECT (Lisp_Object object, 276SETUP_SYNTAX_TABLE_FOR_OBJECT (Lisp_Object object,
@@ -3729,7 +3730,7 @@ syms_of_syntax (void)
3729 staticpro (&gl_state.current_syntax_table); 3730 staticpro (&gl_state.current_syntax_table);
3730 staticpro (&gl_state.old_prop); 3731 staticpro (&gl_state.old_prop);
3731 3732
3732 /* Defined in regex.c. */ 3733 /* Defined in regex-emacs.c. */
3733 staticpro (&re_match_object); 3734 staticpro (&re_match_object);
3734 3735
3735 DEFSYM (Qscan_error, "scan-error"); 3736 DEFSYM (Qscan_error, "scan-error");