comparison src/ccl.c @ 35529:c0bf5507a0bb

(ccl_driver): If ccl->suppress_error is nonzeor, don't insert error message to the output. (setup_ccl_program): Initialize ccl->suppress_error to 0.
author Kenichi Handa <handa@m17n.org>
date Wed, 24 Jan 2001 23:29:59 +0000
parents add3de5a4293
children 0542807f1a5f
comparison
equal deleted inserted replaced
35528:4ca44cbfa530 35529:c0bf5507a0bb
1718 CCL_INVALID_CMD; 1718 CCL_INVALID_CMD;
1719 } 1719 }
1720 } 1720 }
1721 1721
1722 ccl_error_handler: 1722 ccl_error_handler:
1723 if (destination) 1723 if (ccl->suppress_error
1724 && destination)
1724 { 1725 {
1725 /* We can insert an error message only if DESTINATION is 1726 /* We can insert an error message only if DESTINATION is
1726 specified and we still have a room to store the message 1727 specified and we still have a room to store the message
1727 there. */ 1728 there. */
1728 char msg[256]; 1729 char msg[256];
1935 ccl->last_block = 0; 1936 ccl->last_block = 0;
1936 ccl->private_state = 0; 1937 ccl->private_state = 0;
1937 ccl->status = 0; 1938 ccl->status = 0;
1938 ccl->stack_idx = 0; 1939 ccl->stack_idx = 0;
1939 ccl->eol_type = CODING_EOL_LF; 1940 ccl->eol_type = CODING_EOL_LF;
1941 ccl->suppress_error = 0;
1940 return 0; 1942 return 0;
1941 } 1943 }
1942 1944
1943 #ifdef emacs 1945 #ifdef emacs
1944 1946