forked from rust-embedded/svd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added error checking and
derivedFrom
on registers
Closes rust-embedded#18 Closes rust-embedded#21
- Loading branch information
1 parent
fd65485
commit 6814f43
Showing
5 changed files
with
493 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ version = "0.5.0" | |
|
||
[dependencies] | ||
xmltree = "0.3.2" | ||
error-chain = "0.7.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use xmltree; | ||
use std::str; | ||
use std::num; | ||
error_chain! { | ||
foreign_links { | ||
XmlParseError(xmltree::ParseError); | ||
StrParseBoolError(str::ParseBoolError); | ||
NumParseIntError(num::ParseIntError); | ||
|
||
} | ||
} |
Oops, something went wrong.