URL:
https://svn.lrde.epita.fr/svn/scool/trunk
ChangeLog:
2008-03-26 Maxime van Noppen <yabo(a)lrde.epita.fr>
Update some tests
* input/sample_1.scl,
* input/wiki1.scl,
* parser/sample_1.ref,
* parser/wiki1.ref,
* transformer/sample_1.ref,
* transformer/wiki1.ref: Replace int16 by int.
input/sample_1.scl | 4 ++--
input/wiki1.scl | 4 ++--
parser/sample_1.ref | 2 +-
parser/wiki1.ref | 2 +-
transformer/sample_1.ref | 4 ++--
transformer/wiki1.ref | 4 ++--
6 files changed, 10 insertions(+), 10 deletions(-)
Index: trunk/tests/input/sample_1.scl
===================================================================
--- trunk/tests/input/sample_1.scl (revision 54)
+++ trunk/tests/input/sample_1.scl (revision 55)
@@ -1,9 +1,9 @@
f : () -> void =
{
- i : int16 = 3;
+ i : int = 3;
i := 4;
- var j : int16 := 3;
+ var j : int := 3;
j := 4;
}
Index: trunk/tests/input/wiki1.scl
===================================================================
--- trunk/tests/input/wiki1.scl (revision 54)
+++ trunk/tests/input/wiki1.scl (revision 55)
@@ -1,9 +1,9 @@
f : () -> void =
{
- i : int16 = 3;
+ i : int = 3;
i := 4;
- var j : int16 := 3;
+ var j : int := 3;
j := 4;
}
\ No newline at end of file
Index: trunk/tests/transformer/wiki1.ref
===================================================================
--- trunk/tests/transformer/wiki1.ref (revision 54)
+++ trunk/tests/transformer/wiki1.ref (revision 55)
@@ -1,7 +1,7 @@
void f()
{
- const int16 i = 3;
+ const int i = 3;
i = 4;
- int16 j = 3;
+ int j = 3;
j = 4;
}
Index: trunk/tests/transformer/sample_1.ref
===================================================================
--- trunk/tests/transformer/sample_1.ref (revision 54)
+++ trunk/tests/transformer/sample_1.ref (revision 55)
@@ -1,7 +1,7 @@
void f()
{
- const int16 i = 3;
+ const int i = 3;
i = 4;
- int16 j = 3;
+ int j = 3;
j = 4;
}
Index: trunk/tests/parser/wiki1.ref
===================================================================
--- trunk/tests/parser/wiki1.ref (revision 54)
+++ trunk/tests/parser/wiki1.ref (revision 55)
@@ -1 +1 @@
-Program([FunDec([],"f",[],Var("void"),[ConstDec([],"i",Var("int16"),Int("3")),ExpStm(Affect(Var("i"),Int("4"))),VarDec([],"j",Var("int16"),Int("3")),ExpStm(Affect(Var("j"),Int("4")))])])
+Program([FunDec([],"f",[],Var("void"),[ConstDec([],"i",Var("int"),Int("3")),ExpStm(Affect(Var("i"),Int("4"))),VarDec([],"j",Var("int"),Int("3")),ExpStm(Affect(Var("j"),Int("4")))])])
Index: trunk/tests/parser/sample_1.ref
===================================================================
--- trunk/tests/parser/sample_1.ref (revision 54)
+++ trunk/tests/parser/sample_1.ref (revision 55)
@@ -1 +1 @@
-Program([FunDec([],"f",[],Var("void"),[ConstDec([],"i",Var("int16"),Int("3")),ExpStm(Affect(Var("i"),Int("4"))),VarDec([],"j",Var("int16"),Int("3")),ExpStm(Affect(Var("j"),Int("4")))])])
+Program([FunDec([],"f",[],Var("void"),[ConstDec([],"i",Var("int"),Int("3")),ExpStm(Affect(Var("i"),Int("4"))),VarDec([],"j",Var("int"),Int("3")),ExpStm(Affect(Var("j"),Int("4")))])])
--
\__/ \__/
(00) Maxime `yabo` van Noppen (00)
___) \ Epita 2009 / (___
(_____/ Président de Prologin \_____)