Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: turn macro output into untyped AST #508

Draft
wants to merge 20 commits into
base: devel
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler/ast/ast_query.nim
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const
nkIntKinds* = {nkCharLit .. nkUInt64Lit}

skLocalVars* = {skVar, skLet, skForVar, skParam, skResult}
skAllVars* = {skVar, skLet, skForVar, skParam, skResult, skConst, skTemp}
skProcKinds* = {skProc, skFunc, skTemplate, skMacro, skIterator,
skMethod, skConverter}

Expand Down
2 changes: 1 addition & 1 deletion compiler/ast/errorreporting.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import ast, errorhandling, renderer, reports, std/tables
from compiler/front/options import ConfigRef
from compiler/front/msgs import TErrorHandling
from compiler/front/msgs import TErrorHandling, handleReport

export compilerInstInfo, walkErrors, errorKind
# export because keeping the declaration in `errorhandling` acts as a reminder
Expand Down
Loading