Files
Nim/compiler
Andrey Makarov 8c7ee96457 rst: add missing line/column info for some warnings (#18383)
* rst: add missing line/column info for some warnings

* add workaround

* use TLineInfo/FileIndex for storing file names

* fix blank lines in include file (rm harmful strip)

* don't use ref TLineInfo

* return `hasToc` as output parameter for uniformity

* Update compiler/docgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update compiler/docgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rst.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* address review - stylistic things

* Update compiler/docgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* unify RST warnings/errors names

* doAssert + minor name change

* fix a bug caught by doAssert

* apply strbasics.strip to final HTML/Latex

* rm redundant filename

* fix test after rebase

* delete `order` from rnFootnoteRef,

also display errors/warnings properly when footnote references are from
different files

* Update compiler/lineinfos.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rstast.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rstast.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rstast.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* revert because of error:

Error: cannot prove that it's safe to initialize 'info' with the runtime value for the discriminator 'kind'

* Update lib/packages/docutils/rstgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* apply suggestion

* Update lib/packages/docutils/rst.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* add Table for string->file name mapping

* do not import compiler/lineinfos

* fix ambiguous calls

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: narimiran <narimiran@disroot.org>
2021-07-20 08:32:22 +02:00
..
2021-05-19 16:00:14 +02:00
2021-01-07 20:26:40 +01:00
2019-11-28 17:13:04 +01:00
2021-05-12 22:00:37 +02:00
2021-03-19 16:53:38 +01:00
2021-03-29 21:16:11 +02:00
2021-03-19 16:53:38 +01:00
2017-01-07 22:35:09 +01:00
2020-08-28 22:18:09 +02:00
2019-11-28 17:13:04 +01:00
2021-02-17 19:26:08 +01:00
2021-01-07 20:26:40 +01:00
2021-07-01 06:51:08 +02:00
2021-06-23 23:31:17 +02:00
2021-05-20 15:48:46 +02:00
2021-07-13 14:17:59 +02:00
2021-01-12 09:36:51 +01:00
2021-04-16 09:16:39 +02:00
2019-09-27 07:02:54 +02:00
2021-07-13 12:44:29 +02:00
2021-01-07 20:26:40 +01:00
2021-07-13 12:44:29 +02:00
2021-04-09 08:00:13 +02:00
2019-11-28 17:13:04 +01:00
2021-06-10 18:19:20 +02:00
2021-01-07 20:26:40 +01:00
2021-07-01 17:35:04 +02:00
2021-04-07 19:54:28 +02:00
2021-06-22 12:44:56 +02:00
2021-05-12 07:15:05 +02:00
2021-04-24 18:33:29 +01:00
2020-11-10 21:53:25 +01:00
2021-05-09 00:56:37 +02:00
2021-06-25 06:22:52 +02:00
2021-05-12 22:00:37 +02:00
2021-07-19 20:07:47 -07:00

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.