Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
662b4cfc
Commit
662b4cfc
authored
May 22, 2007
by
Kenichi Handa
Browse files
(scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.
parent
4d55e513
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
src/ChangeLog
src/ChangeLog
+4
-0
src/syntax.c
src/syntax.c
+6
-6
No files found.
src/ChangeLog
View file @
662b4cfc
2007-05-22 Martin Rudalics <rudalics@gmx.at>
* syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.
2007-05-21 Chong Yidong <cyd@stupidchicken.com>
* image.c (uncache_image): New function.
...
...
src/syntax.c
View file @
662b4cfc
...
...
@@ -1276,19 +1276,19 @@ scan_words (from, count)
position of it. */
while
(
1
)
{
int
temp_byte
;
if
(
from
==
beg
)
break
;
temp_byte
=
dec_bytepos
(
from_byte
);
DEC_BOTH
(
from
,
from_byte
);
UPDATE_SYNTAX_TABLE_BACKWARD
(
from
);
ch0
=
FETCH_CHAR
(
temp
_byte
);
ch0
=
FETCH_CHAR
(
from
_byte
);
code
=
SYNTAX
(
ch0
);
if
(
!
(
words_include_escapes
&&
(
code
==
Sescape
||
code
==
Scharquote
)))
if
(
code
!=
Sword
||
WORD_BOUNDARY_P
(
ch0
,
ch1
))
break
;
DEC_BOTH
(
from
,
from_byte
);
{
INC_BOTH
(
from
,
from_byte
);
break
;
}
ch1
=
ch0
;
}
count
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment