diff options
| author | Colin Schmidt | 2016-10-07 14:46:26 -0700 |
|---|---|---|
| committer | Donggyu | 2016-10-07 14:46:26 -0700 |
| commit | 13646949bb5f9a24f45c7510072a6f39cfdaa54c (patch) | |
| tree | 13c9d64dd1e9df43069ef6432c949282cbf1f330 /src | |
| parent | 7d756d3a373fdbab4e93fcfb081ba78ae3828c28 (diff) | |
change default info mode to append (#328)
this makes it much easier to see where something
went wrong during compilation if the lines have
no info initially or its on internal nodes
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/scala/firrtl/Driver.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/Driver.scala b/src/main/scala/firrtl/Driver.scala index 77f6268f..9e4c2ec0 100644 --- a/src/main/scala/firrtl/Driver.scala +++ b/src/main/scala/firrtl/Driver.scala @@ -169,10 +169,10 @@ Optional Arguments: val output = options.getOrElse(OutputFileName, throw new Exception("No output file provided!" + usage)) val infoMode = options.get(InfoModeOption) match { - case (Some("use") | None) => UseInfo + case (Some("append") | None) => AppendInfo(input) + case Some("use") => UseInfo case Some("ignore") => IgnoreInfo case Some("gen") => GenInfo(input) - case Some("append") => AppendInfo(input) case Some(other) => throw new Exception("Unknown info mode option: " + other + usage) } |
