Skip to content

Commit

Permalink
Order values better
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Lanford <[email protected]>
  • Loading branch information
Porges and joelanford authored May 1, 2022
1 parent 8f0e6d3 commit 7fc2acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/markers/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ func (d *Definition) loadFields() error {
func parserScanner(raw string, err func(*sc.Scanner, string)) *sc.Scanner {
scanner := &sc.Scanner{}
scanner.Init(bytes.NewBufferString(raw))
scanner.Mode = sc.ScanIdents | sc.ScanInts | sc.ScanStrings | sc.ScanRawStrings | sc.SkipComments | sc.ScanFloats
scanner.Mode = sc.ScanIdents | sc.ScanInts | sc.ScanFloats | sc.ScanStrings | sc.ScanRawStrings | sc.SkipComments
scanner.Error = err

return scanner
Expand Down

0 comments on commit 7fc2acb

Please sign in to comment.