Skip to content

Commit f78587a

Browse files
chore!: Remove --parser-debug-level (#1311) (#1447)
1 parent 0d30888 commit f78587a

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

cli/bin/grain.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ class GrainCommand extends commander.Command {
165165
"--no-pervasives",
166166
"don't automatically import the Grain Pervasives module"
167167
);
168-
cmd.forwardOption(
169-
"--parser-debug-level <level>",
170-
"debugging level for parser output"
171-
);
172168
cmd.forwardOption(
173169
"--memory-base <addr>",
174170
"set the base address for the Grain heap"

compiler/src/utils/config.re

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -479,14 +479,6 @@ let strict_sequence =
479479
/* For now, leave this as true */
480480
let safe_string = ref(true);
481481

482-
let parser_debug_level =
483-
opt(
484-
~names=["parser-debug-level"],
485-
~conv=Cmdliner.Arg.int,
486-
~doc="Debugging level for parser output",
487-
0,
488-
);
489-
490482
let debug =
491483
toggle_flag(
492484
~names=["debug"],

compiler/src/utils/config.rei

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ let recursive_types: ref(bool);
9898

9999
let strict_sequence: ref(bool);
100100

101-
/** The debugging level to use for the parser. Primarily intended for Grain compiler developers. */
102-
103-
let parser_debug_level: ref(int);
104-
105101
/** Whether debugging information should be included in the compiled output. */
106102

107103
let debug: ref(bool);

0 commit comments

Comments
 (0)