diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-08-05 15:03:14 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-08-05 15:03:14 +0200 |
commit | 535d856a39b177642724bcfe6009985bf4262dbd (patch) | |
tree | 4162702b31cff209a859ad22de426c7b83d38830 /core/include | |
parent | ff87ea9045a6e0979311ae7b25055d6b53b0a13d (diff) | |
download | kicad-utils-535d856a39b177642724bcfe6009985bf4262dbd.tar.gz kicad-utils-535d856a39b177642724bcfe6009985bf4262dbd.tar.bz2 kicad-utils-535d856a39b177642724bcfe6009985bf4262dbd.tar.xz kicad-utils-535d856a39b177642724bcfe6009985bf4262dbd.zip |
o More flexible parsing. More rules needs to be updated.
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/trygvis/kicad.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/include/trygvis/kicad.h b/core/include/trygvis/kicad.h index 0c5005d..bae250b 100644 --- a/core/include/trygvis/kicad.h +++ b/core/include/trygvis/kicad.h @@ -78,6 +78,9 @@ public: explicit kicad_parse_exception(const std::vector<std::string> &messages) : runtime_error("Parse error"), messages(messages) {} + explicit kicad_parse_exception(const std::string &message) : + runtime_error("Parse error"), messages({message}) {} + ~kicad_parse_exception() {} const std::vector<std::string> messages; |