mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-15 03:01:47 -07:00
compiles agian...
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#include "builder.hpp"
|
||||
|
||||
Builder Builder::open( char const* path )
|
||||
{
|
||||
Builder result;
|
||||
|
@ -1,3 +1,6 @@
|
||||
#pragma once
|
||||
#include "gen.hpp"
|
||||
|
||||
struct Builder
|
||||
{
|
||||
FileInfo File;
|
||||
|
@ -1,9 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "gen.scanner.hpp"
|
||||
|
||||
namespace gen {
|
||||
|
||||
struct Policy
|
||||
{
|
||||
// Nothing for now.
|
||||
@ -68,6 +65,3 @@ struct Editor
|
||||
|
||||
bool process_requests( Array<Receipt> out_receipts );
|
||||
};
|
||||
|
||||
// namespace gen
|
||||
};
|
||||
|
@ -1 +1 @@
|
||||
|
||||
#include "scanner.hpp"
|
||||
|
@ -1,3 +1,6 @@
|
||||
#pragma once
|
||||
#include "gen.hpp"
|
||||
|
||||
// This is a simple file reader that reads the entire file into memory.
|
||||
// It has an extra option to skip the first few lines for undesired includes.
|
||||
// This is done so that includes can be kept in dependency and component files so that intellisense works.
|
||||
@ -48,7 +51,7 @@ Code scan_file( char const* path, bool skip_header_includes = true )
|
||||
}
|
||||
|
||||
// Skip the line
|
||||
sptr skip_size = sptr( scanner - str );
|
||||
sptr skip_size = sptr( scanner - str.Data );
|
||||
if ( current == '\r' )
|
||||
{
|
||||
skip_size += 2;
|
||||
|
Reference in New Issue
Block a user