mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
zkas: Write the circuit namespace in the bincode.
This commit is contained in:
@@ -63,7 +63,7 @@ fn main() {
|
||||
// the initial AST, not caring much about the semantics, just enforcing
|
||||
// syntax and general structure.
|
||||
let parser = Parser::new(filename, source.chars(), tokens);
|
||||
let (constants, witnesses, statements) = parser.parse();
|
||||
let (namespace, constants, witnesses, statements) = parser.parse();
|
||||
|
||||
// The analyzer goes through the initial AST provided by the parser and
|
||||
// converts return and variable types to their correct forms, and also
|
||||
@@ -86,6 +86,7 @@ fn main() {
|
||||
let compiler = Compiler::new(
|
||||
filename,
|
||||
source.chars(),
|
||||
namespace,
|
||||
analyzer.constants,
|
||||
analyzer.witnesses,
|
||||
analyzer.statements,
|
||||
|
||||
Reference in New Issue
Block a user