diff options
| author | azidar | 2015-02-18 08:24:20 -0800 |
|---|---|---|
| committer | azidar | 2015-02-18 08:24:20 -0800 |
| commit | afde65773fc7b19dd99e0c65f718a96d0466541b (patch) | |
| tree | 6c46ae062b54cfcedbf39271bb223a4b2a81439a /src/main/stanza/ir-parser.stanza | |
| parent | 4f68f75415eb89427062eb86ff21b0e53bf4cadd (diff) | |
Reimplemented to-working-ir. Changed Command to Stmt. Modified printing of IR to match parser.
Diffstat (limited to 'src/main/stanza/ir-parser.stanza')
| -rw-r--r-- | src/main/stanza/ir-parser.stanza | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/stanza/ir-parser.stanza b/src/main/stanza/ir-parser.stanza index 0da99033..679f1362 100644 --- a/src/main/stanza/ir-parser.stanza +++ b/src/main/stanza/ir-parser.stanza @@ -129,7 +129,7 @@ rd.defsyntax firrtl : (when ?pred:#exp : ?conseq:#comm else ?alt:#comm/when) : Conditionally(pred, conseq, alt) (when ?pred:#exp : ?conseq:#comm) : - Conditionally(pred, conseq, EmptyCommand()) + Conditionally(pred, conseq, EmptyStmt()) defrule element : (reg ?name:#symbol : ?type:#type = Register (@do ?value:#exp ?en:#exp)) : @@ -201,4 +201,4 @@ public defn parse-firrtl (forms:List) : with-parser{`firrtl, _} $ fn () : rd.match-syntax(forms) : (?c:#circuit) : - c
\ No newline at end of file + c |
