mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-10-31 06:50:53 -07:00 
			
		
		
		
	Fixing intellisense
This commit is contained in:
		| @@ -3,7 +3,7 @@ | ||||
| #	include "helpers/push_ignores.inline.hpp" | ||||
| #	include "components/header_start.hpp" | ||||
| #	include "components/types.hpp" | ||||
| #	include "components/gen/ecode.hpp" | ||||
| #	include "components/gen/ecodetypes.hpp" | ||||
| #	include "components/gen/eoperator.hpp" | ||||
| #	include "components/gen/especifier.hpp" | ||||
| #	include "components/ast.hpp" | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
| #	include "helpers/push_ignores.inline.hpp" | ||||
| #	include "components/header_start.hpp" | ||||
| #	include "components/types.hpp" | ||||
| #	include "components/gen/ecode.hpp" | ||||
| #	include "components/gen/ecodetypes.hpp" | ||||
| #	include "components/gen/eoperator.hpp" | ||||
| #	include "components/gen/especifier.hpp" | ||||
| #	include "components/ast.hpp" | ||||
|   | ||||
| @@ -1,7 +1,9 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #pragma once | ||||
| #include "basic_types.hpp" | ||||
| #include "strings.hpp" | ||||
| #include "types.hpp" | ||||
| #include "gen/ecode.hpp" | ||||
| #include "gen/ecodetypes.hpp" | ||||
| #include "gen/eoperator.hpp" | ||||
| #include "gen/especifier.hpp" | ||||
| #endif | ||||
|   | ||||
| @@ -395,11 +395,11 @@ struct ParseStackNode | ||||
| { | ||||
| 	ParseStackNode* Prev; | ||||
|  | ||||
| 	TokenSlice tokens; | ||||
| 	TokenSlice Tokens; | ||||
| 	Token*     Start; | ||||
| 	Str        Name;     // The name of the AST node (if parsed) | ||||
| 	Str        ProcName; // The name of the procedure | ||||
| 	Code       code;     // Relevant AST node | ||||
| 	Code       CodeRel;  // Relevant AST node | ||||
| 	// TODO(Ed): When an error occurs, the parse stack is not released and instead the scope is left dangling. | ||||
| }; | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #pragma once | ||||
| #include "gen/etoktype.cpp" | ||||
| #include "gen/etoktype.hpp" | ||||
| #include "interface.upfront.cpp" | ||||
| #include "lexer.cpp" | ||||
| #include "parser.cpp" | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #pragma once | ||||
| #include "interface.upfront.cpp" | ||||
| #include "gen/etoktype.cpp" | ||||
| #include "gen/etoktype.hpp" | ||||
| #endif | ||||
|  | ||||
| StrBuilder tok_to_strbuilder(Token tok) | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #pragma once | ||||
| #include "gen/etoktype.cpp" | ||||
| #include "gen/etoktype.hpp" | ||||
| #include "parser_case_macros.cpp" | ||||
| #include "interface.upfront.cpp" | ||||
| #include "lexer.cpp" | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #pragma once | ||||
| #include "types.hpp" | ||||
| #include "gen/ecode.hpp" | ||||
| #include "gen/ecodetypes.hpp" | ||||
| #include "gen/eoperator.hpp" | ||||
| #include "gen/especifier.hpp" | ||||
| #include "gen/etoktype.hpp" | ||||
| @@ -110,7 +110,6 @@ struct LexContext | ||||
| 	char const*     scanner; | ||||
| 	s32             line; | ||||
| 	s32             column; | ||||
| 	// StringTable     defines; | ||||
| 	Token           token; | ||||
| }; | ||||
|  | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "dependencies/platform.hpp" | ||||
| #	include "dependencies/macros.hpp" | ||||
| #	include "basic_types.hpp" | ||||
| #	include "platform.hpp" | ||||
| #	include "macros.hpp" | ||||
| #	include "basic_types.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Debug | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "strbuilder_ops.cpp" | ||||
| #	include "string_ops.cpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Printing | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "strbuilder_ops.hpp" | ||||
| #	include "string_ops.hpp" | ||||
| #endif | ||||
|  | ||||
| #pragma region Printing | ||||
|   | ||||
| @@ -1,5 +1,7 @@ | ||||
| #ifdef INTELLISENSE_DIRECTIVES | ||||
| #	pragma once | ||||
| #	include "basic_types.hpp" | ||||
| #	include "memory.hpp" | ||||
| #	include "hashing.hpp" | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -11,9 +11,6 @@ | ||||
| #include "helpers/push_ignores.inline.hpp" | ||||
| #include "components/header_start.hpp" | ||||
|  | ||||
| // Has container defines pushed | ||||
| #include "gen.dep.hpp" | ||||
|  | ||||
| GEN_NS_BEGIN | ||||
|  | ||||
| #include "components/types.hpp" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user