Some reformatting

This commit is contained in:
Emmanuel BENOîT 2017-10-03 16:10:48 +02:00
parent 952aad1e02
commit 8eefe21aae

View file

@ -3,6 +3,7 @@
namespace {
const std::regex PreprocDirective_( "^\\s*//!\\s*([a-z]+(\\s+([^\\s]+))*)\\s*$" );
const std::map< std::string , E_ShaderInput > InputTypes_( ([] {
@ -15,7 +16,9 @@ namespace {
return t;
})());
/*============================================================================*/
// Input reader state and functions, used when loading a source file
struct T_InputReader_
{
using T_Tokens_ = std::vector< std::string >;
@ -44,6 +47,8 @@ namespace {
void error( __rd__ std::string const& err );
};
/*----------------------------------------------------------------------------*/
T_InputReader_::~T_InputReader_( )
{
if ( buffer ) {