remove hard tabs from source code

these are illegal according to the spec
This commit is contained in:
Andrew Kelley 2024-07-31 14:03:20 -07:00
parent 377e8579f9
commit a7029496d1
7 changed files with 107 additions and 111 deletions

View file

@ -203,8 +203,7 @@ pub const symtab_command = extern struct {
/// local symbols (static and debugging symbols) - grouped by module
/// defined external symbols - grouped by module (sorted by name if not lib)
/// undefined external symbols (sorted by name if MH_BINDATLOAD is not set,
/// and in order the were seen by the static
/// linker if MH_BINDATLOAD is set)
/// and in order the were seen by the static linker if MH_BINDATLOAD is set)
/// In this load command there are offsets and counts to each of the three groups
/// of symbols.
///
@ -220,8 +219,8 @@ pub const symtab_command = extern struct {
/// containing only one module, the information that would be in these three
/// tables is determined as follows:
/// table of contents - the defined external symbols are sorted by name
/// module table - the file contains only one module so everything in the
/// file is part of the module.
/// module table - the file contains only one module so everything in the file
/// is part of the module.
/// reference symbol table - is the defined and undefined external symbols
///
/// For dynamically linked shared library files this load command also contains

View file

@ -237,10 +237,7 @@ test "double quoted string" {
try testing.expectEqualStrings(
\\"here" are some escaped quotes
, arr[1]);
try testing.expectEqualStrings(
\\newlines and tabs
\\are supported
, arr[2]);
try testing.expectEqualStrings("newlines and tabs\nare\tsupported", arr[2]);
try testing.expectEqualStrings(
\\let's have
\\some fun!