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:
2023-08-21 23:02:20 -04:00
parent 7be3617083
commit db6e8b33eb
35 changed files with 55 additions and 52 deletions

View File

@ -1,5 +1,5 @@
#pragma once
// #include "static_data.cpp"
#include "static_data.cpp"
Code Code::Global;
Code Code::Invalid;

View File

@ -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;

View File

@ -1,5 +1,5 @@
#pragma once
// #include "ast.hpp"
#include "ast.hpp"
#pragma region AST Types
/*

View File

@ -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

View File

@ -1,5 +1,5 @@
#pragma once
// #include "interface.hpp"
#include "interface.hpp"
void AST::append( AST* other )
{

View File

@ -1,5 +1,5 @@
#pragma once
// #include "ast.cpp"
#include "ast.cpp"
internal void init_parser();
internal void deinit_parser();

View File

@ -1,5 +1,5 @@
#pragma once
// #include "ast_types.hpp"
#include "ast_types.hpp"
#pragma region Gen Interface

View File

@ -1,6 +1,6 @@
#pragma once
// #include "temp/etoktype.cpp"
// #include "interface.upfront.cpp"
#include "temp/etoktype.cpp"
#include "interface.upfront.cpp"
namespace Parser
{

View File

@ -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 )
{

View File

@ -1,5 +1,5 @@
#pragma once
// #include "interface.cpp"
#include "interface.cpp"
#pragma region Upfront

View File

@ -1,5 +1,5 @@
#pragma once
// #include "src_start.cpp"
#include "gen.hpp"
#pragma region StaticData

View File

@ -1,5 +1,5 @@
#pragma once
// #include "header_start.hpp"
#include "header_start.hpp"
using LogFailType = sw(*)(char const*, ...);