diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-24 11:42:49 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-24 11:42:49 +0100 |
| commit | bba088bee70a220c6ff99fc7fe68245e1ad6f932 (patch) | |
| tree | f8ab160a1f7169127d49754dce78c1ba283f78cb /src/checker.cpp | |
| parent | 6cbb6bef0b817ba24ccbbf68d6192567bdc246ad (diff) | |
Use UTF-8 command line on windows
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index c2318f9d2..a912c6a59 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -314,11 +314,12 @@ TypeAndValue type_and_value_of_expr (CheckerInfo *i, AstNode *expr); Type * type_of_expr (CheckerInfo *i, AstNode *expr); Entity * entity_of_ident (CheckerInfo *i, AstNode *identifier); Entity * implicit_entity_of_node(CheckerInfo *i, AstNode *clause); -DeclInfo * decl_info_of_entity (CheckerInfo *i, Entity * e); +Scope * scope_of_node (CheckerInfo *i, AstNode *node); DeclInfo * decl_info_of_ident (CheckerInfo *i, AstNode *ident); +DeclInfo * decl_info_of_entity (CheckerInfo *i, Entity * e); AstFile * ast_file_of_filename (CheckerInfo *i, String filename); -Scope * scope_of_node (CheckerInfo *i, AstNode *node); -isize type_info_index (CheckerInfo *i, Type *type); // Only to use once checking is done +// IMPORTANT: Only to use once checking is done +isize type_info_index (CheckerInfo *i, Type * type); Entity *current_scope_lookup_entity(Scope *s, String name); |