Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Circularity Saw: commit headers

PACT.Packfile.Decompile is a lot more more pleasant without the
pile of predeclared classes at the top.
  • Loading branch information...
commit 656471f1beb784cf10fc38af5f9adc7b9607b628 1 parent af42224
@Benabik Benabik authored
View
11 pact/packfile.winxed
@@ -0,0 +1,11 @@
+class PACT.Packfile;
+class PACT.Packfile.Namespace;
+class PACT.Packfile.Constant;
+class PACT.Packfile.Constant.Reference;
+class PACT.Packfile.Constant.Key;
+class PACT.Packfile.Subroutine;
+class PACT.Packfile.Op;
+class PACT.Packfile.Label;
+class PACT.Packfile.Register;
+class PACT.Packfile.Annotation;
+class PACT.Packfile.Debug;
View
1  pact/packfile/decompile.winxed
@@ -0,0 +1 @@
+class PACT.Packfile.Decompile;
View
15 src/pact/packfile/decompile.winxed
@@ -5,19 +5,8 @@
// Get all the argument type constants for PCC
$include_const 'call_bits.pasm';
-// Predeclare and load the PACT.Packfile classes
-class PACT.Packfile;
-class PACT.Packfile.Namespace;
-class PACT.Packfile.Constant;
-class PACT.Packfile.Constant.Reference;
-class PACT.Packfile.Constant.Key;
-class PACT.Packfile.Subroutine;
-class PACT.Packfile.Multi;
-class PACT.Packfile.Op;
-class PACT.Packfile.Label;
-class PACT.Packfile.Register;
-class PACT.Packfile.Annotation;
-class PACT.Packfile.Debug;
+$include 'pact/packfile.winxed';
+
function init[anon,load,init]() {
load_bytecode('pact/packfile.pbc');
}
Please sign in to comment.
Something went wrong with that request. Please try again.