mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-15 03:01:47 -07:00
got intellisense working for the most part...
VScode works withs some issues. VS2022 fails. 10xEditor works fine. JetBrains Rider fails due to it not supporting <push/pop>_macro pragmas
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "static_data.cpp"
|
||||
#include "static_data.cpp"
|
||||
|
||||
Code Code::Global;
|
||||
Code Code::Invalid;
|
||||
|
@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
// #include "types.hpp"
|
||||
// #include "temp/ecode.hpp"
|
||||
// #include "temp/eoperator.hpp"
|
||||
// #include "temp/especifier.hpp"
|
||||
#include "types.hpp"
|
||||
#include "temp/ecode.hpp"
|
||||
#include "temp/eoperator.hpp"
|
||||
#include "temp/especifier.hpp"
|
||||
|
||||
struct AST;
|
||||
struct AST_Body;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "ast.hpp"
|
||||
#include "ast.hpp"
|
||||
|
||||
#pragma region AST Types
|
||||
/*
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
// #include "inlines.hpp"
|
||||
// #include "temp/ast_inlines.hpp"
|
||||
#include "inlines.hpp"
|
||||
#include "temp/ast_inlines.hpp"
|
||||
|
||||
#pragma region Constants
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "interface.hpp"
|
||||
#include "interface.hpp"
|
||||
|
||||
void AST::append( AST* other )
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "ast.cpp"
|
||||
#include "ast.cpp"
|
||||
|
||||
internal void init_parser();
|
||||
internal void deinit_parser();
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "ast_types.hpp"
|
||||
#include "ast_types.hpp"
|
||||
|
||||
#pragma region Gen Interface
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
// #include "temp/etoktype.cpp"
|
||||
// #include "interface.upfront.cpp"
|
||||
#include "temp/etoktype.cpp"
|
||||
#include "interface.upfront.cpp"
|
||||
|
||||
namespace Parser
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "interface.parsing.cpp"
|
||||
#include "interface.parsing.cpp"
|
||||
|
||||
sw token_fmt_va( char* buf, uw buf_size, s32 num_tokens, va_list va )
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "interface.cpp"
|
||||
#include "interface.cpp"
|
||||
|
||||
#pragma region Upfront
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "src_start.cpp"
|
||||
#include "gen.hpp"
|
||||
|
||||
#pragma region StaticData
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
// #include "header_start.hpp"
|
||||
#include "header_start.hpp"
|
||||
|
||||
using LogFailType = sw(*)(char const*, ...);
|
||||
|
||||
|
Reference in New Issue
Block a user