]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/parser.h
Track source names in SL::Module
[libs/gl.git] / source / glsl / parser.h
index b6c8369debb91d379e66d8f1a2afda5f2e53bea9..58b14b502f5bf550e1285098a651662fcf653bbe 100644 (file)
@@ -16,7 +16,6 @@ class Parser
 {
 private:
        std::string source;
-       std::string source_name;
        unsigned source_index;
        Tokenizer tokenizer;
        Preprocessor preprocessor;
@@ -33,7 +32,7 @@ public:
        Module &parse(IO::Base &, const std::string &, unsigned = 0);
 
 private:
-       void parse_source(const std::string &);
+       void parse_source(const std::string &, unsigned);
        void set_required_version(const Version &);
        void stage_change(Stage::Type);