- Subject: S-lang - string too long
- From: Morten Bo Johansen <mojo@xxxxxxxx>
- Date: Mon, 11 Mar 2002 22:36:37 +0100
Hi,
I was fiddling around with html.sl with the purpose of making a
more elaborate html-template which also included for instance
meta tags but I am limited by the length of the string which is
allowed to store the data. I get the following error message
when preparsing once the length exceeds the allowed length:
S-Lang Error: Syntax Error: String too long for buffer: found '??', line 137, file: /usr/share/jed/lib/html.sl
S-Lang Error: Syntax Error: called from line 137, file: /usr/share/jed/lib/html.sl
S-Lang Error: Syntax Error: Error processing /usr/share/jed/lib/html.sl
S-Lang Traceback: byte_compile_file
S-Lang Traceback: jed_byte_compile_file
File: bytecomp.sl
Local Variables:
$0: Type: String_Type, Value: "html.sl"
$1: Type: String_Type, Value: "/usr/share/jed/lib/html.sl"
S-Lang Traceback: loop
S-Lang Error: Syntax Error: called from line 146, file: bytecomp.sl
S-Lang Traceback: evalfile
S-Lang Error: Syntax Error: called from line 2, file: preparse
S-Lang Traceback: evalfile
S-Lang Traceback: while
S-Lang Traceback: command_line_hook
File: site
Local Variables:
$0: Type: Integer_Type, Value: 1
$1: Type: Integer_Type, Value: 4
$2: Type: String_Type, Value: "-l"
$3: Type: Undefined_Type, Value: Undefined_Type
$4: Type: String_Type, Value: "preparse"
$5: Type: Undefined_Type, Value: Undefined_Type
$6: Type: Null_Type, Value: NULL
$7: Type: String_Type, Value: "preparse"
S-Lang Error: Syntax Error: Error while executing command_line_hook
Could I do something to circumvent that. Currently the template
looks like this:
html_template ()
{
insert ("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
html_insert_move ("\n\n<html>\n\n<head>\n<title>@</title>\n<style\ type=\"text/css\"><!--\n\n-->\n</style>\n<meta\ http-equiv=\"Content-Type\"\ content=\"text/html;charset=iso-8859-1\">\n<meta\ name=\"keywords\"\ content=\"\">\n<meta\ name=\"description\"\ content=\"\">");
}
Once I try to squeeze more into it it bombs out.
Regards,
Morten
--
"Every great mistake has a halfway moment, a split second when it can be
recalled and perhaps remedied." (Pearl S. Buck)
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]