Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

frames thing runner

  • Loading branch information...
commit 57ce3479cd9b9019a83c0c28de944a28fafb9bea 1 parent c1cc1f3
Swizec Teller authored
Showing with 6 additions and 12 deletions.
  1. +1 −1  pascal/src/compiler/synanal/pascal.cup
  2. +5 −11 test/sem.pascal
2  pascal/src/compiler/synanal/pascal.cup
View
@@ -1,7 +1,7 @@
package compiler.synanal;
import java_cup.runtime.*;
-
+
import compiler.report.*;
import compiler.abstree.*;
16 test/sem.pascal
View
@@ -5,7 +5,7 @@ const
lol = 5;
bla = 5;
hah = 7;
- beh = +'c';
+ beh = +20;
type
a = integer;
@@ -63,15 +63,14 @@ begin
aa := (6+4 = 5) and false or true;
i := bb[2];
-{ i := f.f;}
- {6+4 := ohai3(false);
+ aa := ohai3(false, bb);
if ohai3(false, bb) then
- a := cc;
+ a := a;
if ohai3(false, bb) then
- b := 'l'
+ b := aa
else
mew(5);
if 5+3*(3+5) = 3 then
@@ -86,10 +85,5 @@ begin
while ohai3(true, bb) do
i := i+5;
- aa := [integer];}
-{ aa := aa = 2+5+5*3 > 3*4 div -5;
- 4 + 5 = 4-3*10 < 4 > 6 >= 5 <= 10 or 3 and 6;
- 3+4*5*3 div 5+3}
+ a := [integer];
end.
-{begin
-end.}
Please sign in to comment.
Something went wrong with that request. Please try again.