是不是拿Windows上的文件,直接传到Unix下的?
估计里面有很多隐含的转义符^M
另外,866的错误代码来源是:
/* call yyparse() to parse input or temp file */
if((ret = yyparse() ) <0 ) {
if(tmpfile[0])
(void)unlink(tmpfile);
(void)fprintf(stderr, _MHS_(CMDTUX_CAT,865,0,
"\nERROR: %s: Parse failed\n"),
argv[0]);
TMDEBUG(10,("< main(50) exits with 1"));
exit(1);
}
if(ret == 1) {
if(tmpfile[0])
(void)unlink(tmpfile);
(void)fprintf(stderr, _MHS_(CMDTUX_CAT,866,0,
"\nERROR: %s: Severe error found. Stop syntax checking.\n"),
argv[0]);
TMDEBUG(10,("< main(60) exits with 1"));
exit(1);
}
if(errcnt > 0) {
if(tmpfile[0])
(void)unlink(tmpfile);
(void)fprintf(stderr, _MHS_(CMDTUX_CAT,867,0,
"\nERROR: %s: Above errors found during syntax checking\n"),
argv[0]);
TMDEBUG(10,("< main(70) exits with 1"));
exit(1);
}