X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Floader.h;h=fe928048508d208aafe339def238a4cdc722dc2d;hp=8a1103d11f14d4c251033a20a1189a2a886599e8;hb=1a3b30ea35fbc19e56bbd35e4ee1811d8d5e02a4;hpb=3b78eeb8b92dc3524d6a0456b4daf0a0f3dbf813 diff --git a/source/loader.h b/source/loader.h index 8a1103d..fe92804 100644 --- a/source/loader.h +++ b/source/loader.h @@ -141,6 +141,10 @@ protected: source may not necessarily be a file. */ const std::string &get_source() const; + /** Returns the keyword of the statement being processed. Can be used to + implement dynamic keywords. */ + const std::string &get_keyword() const; + virtual void finish() { } };