Bugs item #750372, was opened at 2003-06-07 01:00 Message generated for change (Comment added) made by yooden You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=111005&aid=750372&group_id=11005
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Program Group: development Status: Open Resolution: None >Priority: 8 Private: No Submitted By: Stephen J Bovy (stevebovy) Assigned to: Nobody/Anonymous (nobody) Summary: OS390 compile error highlightData.c Initial Comment: I am getting the following compile error when building/compiling on OS390 with current CVS: ERROR CCN3186 ./highlightData.c:551 String literal must be ended before the end of line. ERROR CCN3045 ./highlightData.c:552 Undeclared identifier string. ERROR CCN3045 ./highlightData.c:552 Undeclared identifier insert_string. ERROR CCN3045 ./highlightData.c:552 Undeclared identifier mouse_pan. ERROR CCN3191 ./highlightData.c:552 The character \ is not a valid C source character. ERROR CCN3277 ./highlightData.c:552 Syntax error: possible missing ',' or '}'? CCN0793(I) Compilation failed for file ./highlightData.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile highlightData.c. Correct the errors and try again. make[1]: *** [highlightData.o] Error 3 ---------------------------------------------------------------------- >Comment By: Thorsten Haude (yooden) Date: 2008-01-04 17:18 Message: Logged In: YES user_id=119143 Originator: NO Any quick fix would have more serious consequences, so we have to postpone it. ---------------------------------------------------------------------- Comment By: Thorsten Haude (yooden) Date: 2006-09-17 17:18 Message: Logged In: YES user_id=119143 Something related came up in the mailing list lately: We should offer a program to translate Resources from nedit.rc to pattern files and C code. The latter part could then limit itself to 500 or so characters per line. Volunteers? ---------------------------------------------------------------------- Comment By: Tony Balinski (ajbj) Date: 2006-02-05 23:52 Message: Logged In: YES user_id=618141 There are the hyphen-punctuated action routine names, I presume. I suggest you go ahead and remove them. Nobody should be using them now; I think they should be removed from the code base too (and the special parser/lexer code removed too). They've been deprecated for almost as long as I remember, and were only there for compatibility between v4 (where macros were simply sequences of action routine calls) and v5 (where the macro language was first implemented) anyway. ---------------------------------------------------------------------- Comment By: Thorsten Haude (yooden) Date: 2006-02-05 16:41 Message: Logged In: YES user_id=119143 That's the NEdit Macro pattern set btw. ---------------------------------------------------------------------- Comment By: Thorsten Haude (yooden) Date: 2006-02-05 16:36 Message: Logged In: YES user_id=119143 To alleviate this problem, I would like to remove the obsolete actions from the pattern set. Any objections? ---------------------------------------------------------------------- Comment By: Steve LoBasso (slobasso) Date: 2003-08-19 23:22 Message: Logged In: YES user_id=140805 We should probably reconsider having lines so long in the source. With some lines being more than 3000 characters long, we're bound to find a compiler that can't deal with it. ---------------------------------------------------------------------- Comment By: Stephen J Bovy (stevebovy) Date: 2003-06-11 00:32 Message: Logged In: YES user_id=795153 I split line (551): (near the "end_of_file" ) tag like so: 000551 Text Actions:\"<(?:self-insert|self_in 000552 end_of_file|next-page|nex And it compiled !!!! I have (3) other changes I had to make to the build, in order for the os390 build to succeed, any sugestions on how to pass those changes into cvs ???? ---------------------------------------------------------------------- Comment By: Stephen J Bovy (stevebovy) Date: 2003-06-10 19:45 Message: Logged In: YES user_id=795153 OK, I removed line (551) and the compile succeeded. I will attempt to identify what part of line (551) is the problem ---------------------------------------------------------------------- Comment By: Stephen J Bovy (stevebovy) Date: 2003-06-10 19:44 Message: Logged In: YES user_id=795153 That was my first "hunch", but I "discounted" that theory because "line 550" is longer than line "551". But, I'll give it a try. Sorry I should have done it myself before bothering you.. Thanks for taking the time to reveiw my issue. ---------------------------------------------------------------------- Comment By: Stephen J Bovy (stevebovy) Date: 2003-06-10 19:20 Message: Logged In: YES user_id=795153 That was my first "hunch", but I "discounted" that theory because "line 550" is longer than line "551". But, I'll give it a try. Sorry I should have done it myself before bothering you.. Thanks for taking the time to reveiw my issue. ---------------------------------------------------------------------- Comment By: Eddy De Greef (edg) Date: 2003-06-10 19:07 Message: Logged In: YES user_id=73597 I can't find anything wrong. Perhaps you hit a compiler limit (string too long?). Could you try to isolate the problem, ie. first try to remove the offending line and if that compiles, add half of the line back etc. till you find the problem ? (make sure that the line is always terminated with a backslash). ---------------------------------------------------------------------- Comment By: Stephen J Bovy (stevebovy) Date: 2003-06-09 21:13 Message: Logged In: YES user_id=795153 I got the newest version 1.52 from cvs, and I am still getting the same error ---------------------------------------------------------------------- Comment By: Stephen J Bovy (stevebovy) Date: 2003-06-09 20:42 Message: Logged In: YES user_id=795153 I downloaded "nedit-latest-sources-HEAD" on June 6. Which is last "friday". I looked in the file and here is what I found: const char CVSID = "$Id: highlight.c,v 1.42 2003/05/09 17:43:45 So you are correct. I guess the latest-sources-head wasn't 100% up to date..... Thanks for the repsonse, ---------------------------------------------------------------------- Comment By: Eddy De Greef (edg) Date: 2003-06-07 12:40 Message: Logged In: YES user_id=73597 Are you sure you got the latest CVS version? There has been a problem near line 551 a few days ago, but it was fixed. The latest version of highlightData.c is version 1.52. You can find the version number at the first line, inside the CVSID string. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=111005&aid=750372&group_id=11005 -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
