summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-09-06 02:55:06 +0800
committerGitHub <noreply@github.com>2024-09-05 20:55:06 +0200
commitd91297a330a4cccc4d82c06d4c33b16544b0c1bb (patch)
treeeaa078ac7026272b3bf6f5d6477a073d961289c5
parent9ff15da4265eefe09b6cafa26d9c199a2769f6d1 (diff)
downloadNim-d91297a330a4cccc4d82c06d4c33b16544b0c1bb.tar.gz
remove unused config field: keepComments (#24063)
-rw-r--r--compiler/options.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index 3b9c0c6c8..6d56fc62d 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -407,7 +407,6 @@ type
     commandArgs*: seq[string] # any arguments after the main command
     commandLine*: string
     extraCmds*: seq[string] # for writeJsonBuildInstructions
-    keepComments*: bool # whether the parser needs to keep comments
     implicitImports*: seq[string] # modules that are to be implicitly imported
     implicitIncludes*: seq[string] # modules that are to be implicitly included
     docSeeSrcUrl*: string # if empty, no seeSrc will be generated. \
@@ -581,7 +580,6 @@ proc newConfigRef*(): ConfigRef =
     command: "", # the main command (e.g. cc, check, scan, etc)
     commandArgs: @[], # any arguments after the main command
     commandLine: "",
-    keepComments: true, # whether the parser needs to keep comments
     implicitImports: @[], # modules that are to be implicitly imported
     implicitIncludes: @[], # modules that are to be implicitly included
     docSeeSrcUrl: "",