Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/FsYacc.Core/fsyaccdriver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ let writeSpecToFile (generatorState: GeneratorState) (spec: ParserSpec) (compile
writer.WriteLineInterface "module %s" s

writer.WriteLine
"#nowarn \"64\";; // turn off warnings that type variables used in production annotations are instantiated to concrete type"
"#nowarn \"64\" // turn off warnings that type variables used in production annotations are instantiated to concrete type"

writer.WriteLine "#nowarn \"1182\" // the generated code often has unused variable 'parseState'"

Expand Down
1 change: 1 addition & 0 deletions src/FsYacc.Core/fsyaccpars.fsy
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ open FsLexYacc.FsYacc
open FsLexYacc.FsYacc.AST

#nowarn "62" // This construct is for ML compatibility
#nowarn "64" // Turn off warnings that type variables used in production annotations are instantiated to concrete type"

%}

Expand Down