Index: src/SynTree/Label.h
===================================================================
--- src/SynTree/Label.h	(revision 8aa474a522cf439767cfb0cb3720af96323fc04f)
+++ src/SynTree/Label.h	(revision f240484f7d94bba0a956c3c0eb848259db6be7ff)
@@ -33,5 +33,5 @@
 	std::list< Attribute * >& get_attributes() { return attributes; }
 
-	operator std::string() { return name; }
+	operator std::string() const { return name; }
 	bool empty() { return name.empty(); }
   private:
