mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
remove hard tabs from source code
these are illegal according to the spec
This commit is contained in:
parent
377e8579f9
commit
a7029496d1
7 changed files with 107 additions and 111 deletions
|
|
@ -203,8 +203,7 @@ pub const symtab_command = extern struct {
|
||||||
/// local symbols (static and debugging symbols) - grouped by module
|
/// local symbols (static and debugging symbols) - grouped by module
|
||||||
/// defined external symbols - grouped by module (sorted by name if not lib)
|
/// defined external symbols - grouped by module (sorted by name if not lib)
|
||||||
/// undefined external symbols (sorted by name if MH_BINDATLOAD is not set,
|
/// undefined external symbols (sorted by name if MH_BINDATLOAD is not set,
|
||||||
/// and in order the were seen by the static
|
/// and in order the were seen by the static linker if MH_BINDATLOAD is set)
|
||||||
/// linker if MH_BINDATLOAD is set)
|
|
||||||
/// In this load command there are offsets and counts to each of the three groups
|
/// In this load command there are offsets and counts to each of the three groups
|
||||||
/// of symbols.
|
/// of symbols.
|
||||||
///
|
///
|
||||||
|
|
@ -220,8 +219,8 @@ pub const symtab_command = extern struct {
|
||||||
/// containing only one module, the information that would be in these three
|
/// containing only one module, the information that would be in these three
|
||||||
/// tables is determined as follows:
|
/// tables is determined as follows:
|
||||||
/// table of contents - the defined external symbols are sorted by name
|
/// table of contents - the defined external symbols are sorted by name
|
||||||
/// module table - the file contains only one module so everything in the
|
/// module table - the file contains only one module so everything in the file
|
||||||
/// file is part of the module.
|
/// is part of the module.
|
||||||
/// reference symbol table - is the defined and undefined external symbols
|
/// reference symbol table - is the defined and undefined external symbols
|
||||||
///
|
///
|
||||||
/// For dynamically linked shared library files this load command also contains
|
/// For dynamically linked shared library files this load command also contains
|
||||||
|
|
|
||||||
|
|
@ -237,10 +237,7 @@ test "double quoted string" {
|
||||||
try testing.expectEqualStrings(
|
try testing.expectEqualStrings(
|
||||||
\\"here" are some escaped quotes
|
\\"here" are some escaped quotes
|
||||||
, arr[1]);
|
, arr[1]);
|
||||||
try testing.expectEqualStrings(
|
try testing.expectEqualStrings("newlines and tabs\nare\tsupported", arr[2]);
|
||||||
\\newlines and tabs
|
|
||||||
\\are supported
|
|
||||||
, arr[2]);
|
|
||||||
try testing.expectEqualStrings(
|
try testing.expectEqualStrings(
|
||||||
\\let's have
|
\\let's have
|
||||||
\\some fun!
|
\\some fun!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue