Mercurial > emacs
comparison src/ccl.c @ 29847:c6b0046bb943
(ccl_driver) <CCL_End>: Decrement stack_idx only when it is greater
than 0.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 22 Jun 2000 01:21:00 +0000 |
parents | caf7f927357c |
children | d9e5b40d33c5 |
comparison
equal
deleted
inserted
replaced
29846:387fb6e30a02 | 29847:c6b0046bb943 |
---|---|
1024 } | 1024 } |
1025 ic += field1; | 1025 ic += field1; |
1026 break; | 1026 break; |
1027 | 1027 |
1028 case CCL_End: /* 0000000000000000000000XXXXX */ | 1028 case CCL_End: /* 0000000000000000000000XXXXX */ |
1029 if (stack_idx-- > 0) | 1029 if (stack_idx > 0) |
1030 { | 1030 { |
1031 stack_idx--; | |
1031 ccl_prog = ccl_prog_stack_struct[stack_idx].ccl_prog; | 1032 ccl_prog = ccl_prog_stack_struct[stack_idx].ccl_prog; |
1032 ic = ccl_prog_stack_struct[stack_idx].ic; | 1033 ic = ccl_prog_stack_struct[stack_idx].ic; |
1033 break; | 1034 break; |
1034 } | 1035 } |
1035 if (src) | 1036 if (src) |