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

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to