Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
edeef421
Commit
edeef421
authored
Mar 03, 2006
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fccl_execute_on_string): Fix the condition of terminating
the loop. When quitted, show a proper error message.
parent
2cf69ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/ccl.c
src/ccl.c
+5
-3
No files found.
src/ccl.c
View file @
edeef421
...
...
@@ -2167,13 +2167,15 @@ usage: (ccl-execute-on-string CCL-PROGRAM STATUS STRING &optional CONTINUE UNIBY
break
;
}
if
(
ccl
.
status
!=
CCL_STAT_SUSPEND_BY_SRC
)
if
(
ccl
.
status
!=
CCL_STAT_SUSPEND_BY_SRC
||
str_chars
==
consumed_chars
)
break
;
}
if
(
ccl
.
status
!=
CCL_STAT_SUCCESS
&&
ccl
.
status
!=
CCL_STAT_SUSPEND_BY_SRC
)
if
(
ccl
.
status
==
CCL_STAT_INVALID_CMD
)
error
(
"Error in CCL program at %dth code"
,
ccl
.
ic
);
if
(
ccl
.
status
==
CCL_STAT_QUIT
)
error
(
"CCL program interrupted at %dth code"
,
ccl
.
ic
);
for
(
i
=
0
;
i
<
8
;
i
++
)
ASET
(
status
,
i
,
make_number
(
ccl
.
reg
[
i
]));
...
...
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