This was cross-posted to sage-devel.
Please post replies there.

On Sun, May 20, 2012 at 9:38 AM, Maciek Sykulski <macie...@gmail.com> wrote:
> Hi All,
> I've compiled from source sage-5.0 on Gentoo on the following
> machine:
> Linux 3.2.6 #3 SMP Thu Feb 16 17:40:05 CET 2012 x86_64 Intel(R)
> Xeon(R) CPU X5690 @ 3.47GHz GenuineIntel GNU/Linux
>
> Everything seems to work fine except for this:
> When an input cell with some R code contains a syntax error and the
> input is longer than 1023 characters, the cell evaluates without
> printing any message at all.
>
> This is exemplified below (evalute in R enironment):
> ----------------
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #234567890123456789012
> ]
> ----------------
> The above code when evaluated, as it should, prints :
>          Error: unexpected ']' in "]"
>
> However, the below code with one more letter inside comments evaluates
> and nothing is printed at all:
> ----------------
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #2345678901234567890123
> ]
> ----------------
>
> Does anyone have a clue where in the source code this bug hides?
> It's a serious bug, it makes developing R code rather difficult.
>
> Thanks,
> MS
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-edu" group.
> To post to this group, send email to sage-edu@googlegroups.com.
> To unsubscribe from this group, send email to 
> sage-edu+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sage-edu?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.

Reply via email to