We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f785a7 commit e97199fCopy full SHA for e97199f
x86/x86spec/parse.go
@@ -628,6 +628,8 @@ var fixHeading = strings.NewReplacer(
628
"Compat/\nLeg Mode*", "Compat/Leg Mode",
629
"Compat/\nLeg Mode", "Compat/Leg Mode",
630
"Compat/ *\nLeg Mode", "Compat/Leg Mode",
631
+
632
+ "\n", " ",
633
)
634
635
func halfMissing(x []string) bool {
@@ -791,7 +793,7 @@ func processListing(p *listing, insts *[]*instruction) {
791
793
for i, hdr := range heading {
792
794
x := row[i]
795
x = strings.Replace(x, "\n", " ", -1)
- switch strings.Replace(strings.TrimSpace(hdr), "\n", " ", -1) {
796
+ switch strings.TrimSpace(hdr) {
797
default:
798
wrong = "unexpected header: " + strconv.Quote(hdr)
799
goto BadTable
0 commit comments