diff options
Diffstat (limited to 'src/ast/pattern.cpp')
-rw-r--r-- | src/ast/pattern.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/pattern.cpp b/src/ast/pattern.cpp index 06b96b48..df1d0caf 100644 --- a/src/ast/pattern.cpp +++ b/src/ast/pattern.cpp @@ -51,6 +51,9 @@ namespace AST { (String, os << "\"" << e << "\""; ), + (ByteString, + os << "b\"" << e.v << "\""; + ), (Named, os << e; ) @@ -184,6 +187,7 @@ AST::Pattern AST::Pattern::clone() const (Integer, return Value(e);), (Float, return Value(e);), (String, return Value(e);), + (ByteString, return Value(e);), (Named, return Value::make_Named( AST::Path(e) );) ) throw ""; |