Some reformatting
This commit is contained in:
parent
952aad1e02
commit
8eefe21aae
1 changed files with 114 additions and 109 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue