-
Notifications
You must be signed in to change notification settings - Fork 834
Remove ML compatibility #19143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Remove ML compatibility #19143
Changes from 18 commits
84188a4
e28fb47
de94830
5f508ea
31710a2
0ff6ac4
dfd4521
bddc14e
06034f2
9ba1269
4490446
b07255a
f57d7ab
0514bcb
85a8dd9
23799fa
0f617fc
001c5b1
ddb40c2
7fc5ac0
f9607ec
a3b26bc
126d999
fcdd108
9bd47af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -38,7 +38,7 @@ type Symbols = Symbol list | |||||||||||
| //--------------------------------------------------------------------- | ||||||||||||
| // Output Raw Parser Spec AST | ||||||||||||
|
|
||||||||||||
| let StringOfSym sym = match sym with Terminal s -> "'" ^ s ^ "'" | NonTerminal s -> s | ||||||||||||
| let StringOfSym sym = match sym with Terminal s -> String.Concat("'", s, "'") | NonTerminal s -> s | ||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please do a final "62" full text search? I have also not seen a removal of the message behind "62", which I found strange.. ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was removed fsharp/src/Compiler/Facilities/DiagnosticsLogger.fs Lines 613 to 617 in 0b836fb
including fscomp texts |
||||||||||||
|
|
||||||||||||
| let OutputSym os sym = fprintf os "%s" (StringOfSym sym) | ||||||||||||
|
|
||||||||||||
|
|
@@ -367,7 +367,7 @@ let CompilerLalrParserSpec logf (spec : ProcessedParserSpec): CompiledSpec = | |||||||||||
| stopWatch.Start() | ||||||||||||
|
|
||||||||||||
| // Augment the grammar | ||||||||||||
| let fakeStartNonTerminals = spec.StartSymbols |> List.map(fun nt -> "_start"^nt) | ||||||||||||
| let fakeStartNonTerminals = spec.StartSymbols |> List.map(fun nt -> String.Concat("_start", nt)) | ||||||||||||
| let nonTerminals = [email protected] | ||||||||||||
| let endOfInputTerminal = "$$" | ||||||||||||
| let dummyLookahead = "#" | ||||||||||||
|
|
@@ -480,7 +480,7 @@ let CompilerLalrParserSpec logf (spec : ProcessedParserSpec): CompiledSpec = | |||||||||||
| let IsStartItem item0 = fakeStartNonTerminalsSet.Contains(ntIdx_of_item0 item0) | ||||||||||||
| let IsKernelItem item0 = (IsStartItem item0 || dotIdx_of_item0 item0 <> 0) | ||||||||||||
|
|
||||||||||||
| let StringOfSym sym = match sym with PTerminal s -> "'" ^ termTab.OfIndex s ^ "'" | PNonTerminal s -> ntTab.OfIndex s | ||||||||||||
| let StringOfSym sym = match sym with PTerminal s -> String.Concat("'", termTab.OfIndex s, "'") | PNonTerminal s -> ntTab.OfIndex s | ||||||||||||
|
|
||||||||||||
| let OutputSym os sym = fprintf os "%s" (StringOfSym sym) | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
Uh oh!
There was an error while loading. Please reload this page.