summaryrefslogtreecommitdiff
path: root/src/parsing.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-03-20 15:52:19 -0700
committerAlon Zakai <azakai@google.com>2019-03-20 15:52:19 -0700
commit1690311955c5add86d634ecc47e937315b3b6c41 (patch)
tree429a0df2e87d41f46ed2408c90657b221294e22f /src/parsing.h
parentfec88b85e44b49ac3273b0b7d4e06fba060df36f (diff)
parentfe0b16aa222318588f3bfd84e549b4a1528be296 (diff)
downloadbinaryen-1690311955c5add86d634ecc47e937315b3b6c41.tar.gz
binaryen-1690311955c5add86d634ecc47e937315b3b6c41.tar.bz2
binaryen-1690311955c5add86d634ecc47e937315b3b6c41.zip
Merge remote-tracking branch 'origin/master' into nans
Diffstat (limited to 'src/parsing.h')
-rw-r--r--src/parsing.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsing.h b/src/parsing.h
index 6eecb38f2..97fc88432 100644
--- a/src/parsing.h
+++ b/src/parsing.h
@@ -40,7 +40,7 @@ struct ParseException {
ParseException(std::string text) : text(text), line(-1), col(-1) {}
ParseException(std::string text, size_t line, size_t col) : text(text), line(line), col(col) {}
- void dump(std::ostream& o) {
+ void dump(std::ostream& o) const {
Colors::magenta(o);
o << "[";
Colors::red(o);
@@ -63,7 +63,7 @@ struct MapParseException {
MapParseException() : text("unknown parse error") {}
MapParseException(std::string text) : text(text) {}
- void dump(std::ostream& o) {
+ void dump(std::ostream& o) const {
Colors::magenta(o);
o << "[";
Colors::red(o);