mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-28 17:41:45 +00:00
fixes #11826
This commit is contained in:
@@ -171,6 +171,9 @@ proc popOwner*(c: PContext) =
|
||||
proc lastOptionEntry*(c: PContext): POptionEntry =
|
||||
result = c.optionStack[^1]
|
||||
|
||||
proc message*(c: PContext, info: TLineInfo, msg: TMsgKind, arg = "") =
|
||||
message(c.config, c.lastOptionEntry.notes, c.lastOptionEntry.options, info, msg, arg)
|
||||
|
||||
proc popProcCon*(c: PContext) {.inline.} = c.p = c.p.next
|
||||
|
||||
proc put*(p: PProcCon; key, val: PSym) =
|
||||
|
||||
Reference in New Issue
Block a user