1 #ifndef MSP_GL_SL_SOURCEMAP_H_
2 #define MSP_GL_SL_SOURCEMAP_H_
14 unsigned base_index = 0;
15 std::vector<std::string> source_names;
18 void set_name(unsigned, const std::string &);
19 unsigned get_count() const { return base_index+source_names.size(); }
20 const std::string &get_name(unsigned) const;
21 void merge_from(const SourceMap &);
22 std::string translate_errors(const std::string &) const;