March 31st, 2002

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 08:02:33 UTC 2002

Modified Files:
---------------
livejournal/src/s2/layers: core.s2
livejournal/src/s2/livejournal/s2: NodeStmtBlock.java

Log Message:
------------
NodeStmtBlock wasn't remembering its start position, so when it came
time to error check, it was reporting errors pointing at the last
statementblock in the file, which was confusing the hell out of
mart, and me. but it's fixed now!

and core.s2 is fixed so it now compiles.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 livejournal/src/s2/layers/core.s2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/layers/core.s2.diff?r1=1.3&r2=1.4
cvs rdiff -r1.1 -r1.2 livejournal/src/s2/livejournal/s2/NodeStmtBlock.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/NodeStmtBlock.java.diff?r1=1.1&r2=1.2

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 23:43:49 UTC 2002

Modified Files:
---------------
livejournal/src/s2/livejournal/s2: NodeProduct.java

Log Message:
------------
I quote mart:

Here's a stupid little thing I noticed ages ago but thought at the time it'd
be useful. Now I've realised it's just incredibly annoying...

The ints in S2 get mapped on to scalars in perl, so S2compile's perl backend
needs to wrap division operations in int() so that the integers stay
integers. If this isn't done, we can end up with ints containing fractions,
which makes no sense :)

That's only a minor quirk though. It's not blocking anything, so just leave
it until you're really bored.

-Martin


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 livejournal/src/s2/livejournal/s2/NodeProduct.java
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/livejournal/s2/NodeProduct.java.diff?r1=1.2&r2=1.3

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Sun Mar 31 23:47:03 UTC 2002

Modified Files:
---------------
livejournal/src/s2/tests: Classes_1.s2 Classes_2.s2 Colors.s2
Colors_2b.s2 Hello_World.s2 Reserved_Idents.s2 String_Object.s2
sizereverse.s2

Log Message:
------------
add majorversion declarations so tests will compile and pass again.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 livejournal/src/s2/tests/Classes_1.s2 \
livejournal/src/s2/tests/Colors_2b.s2 \
livejournal/src/s2/tests/Reserved_Idents.s2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/Classes_1.s2.diff?r1=1.2&r2=1.3
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/Colors_2b.s2.diff?r1=1.2&r2=1.3
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/Reserved_Idents.s2.diff?r1=1.2&r2=1.3
cvs rdiff -r1.1 -r1.2 livejournal/src/s2/tests/Classes_2.s2 \
livejournal/src/s2/tests/Colors.s2 \
livejournal/src/s2/tests/String_Object.s2 \
livejournal/src/s2/tests/sizereverse.s2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/Classes_2.s2.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/Colors.s2.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/String_Object.s2.diff?r1=1.1&r2=1.2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/sizereverse.s2.diff?r1=1.1&r2=1.2
cvs rdiff -r1.3 -r1.4 livejournal/src/s2/tests/Hello_World.s2
http://cvs.livejournal.org/browse.cgi/livejournal/src/s2/tests/Hello_World.s2.diff?r1=1.3&r2=1.4