mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Functionality to call high-level code from C++.
This commit is contained in:
@@ -71,9 +71,9 @@ void Program::parse(istream& s)
|
||||
CALLGRIND_STOP_INSTRUMENTATION;
|
||||
while (!s.eof())
|
||||
{
|
||||
instr.parse(s, pos);
|
||||
if (s.bad() or s.fail())
|
||||
throw runtime_error("error reading program");
|
||||
instr.parse(s, pos);
|
||||
p.push_back(instr);
|
||||
//cerr << "\t" << instr << endl;
|
||||
s.peek();
|
||||
|
||||
Reference in New Issue
Block a user