Browse Source

windows fixes

cl-refactor
ethdev 10 years ago
parent
commit
b162e267ac
  1. 2
      libserpent/compiler.cpp
  2. 1
      libserpent/rewriteutils.cpp
  3. 1
      libserpent/util.cpp

2
libserpent/compiler.cpp

@ -173,7 +173,7 @@ programData opcodeify(Node node,
} }
// Comments do nothing // Comments do nothing
else if (node.val == "comment") { else if (node.val == "comment") {
Node nodelist[] = { }; Node* nodelist = nullptr;
return pd(aux, multiToken(nodelist, 0, m), 0); return pd(aux, multiToken(nodelist, 0, m), 0);
} }
// Custom operation sequence // Custom operation sequence

1
libserpent/rewriteutils.cpp

@ -2,6 +2,7 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <map> #include <map>
#include <string>
#include "util.h" #include "util.h"
#include "lllparser.h" #include "lllparser.h"
#include "bignum.h" #include "bignum.h"

1
libserpent/util.cpp

@ -5,6 +5,7 @@
#include "util.h" #include "util.h"
#include "bignum.h" #include "bignum.h"
#include <fstream> #include <fstream>
#include <string>
#include <cerrno> #include <cerrno>
//Token or value node constructor //Token or value node constructor

Loading…
Cancel
Save