Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6#include <stdio.h>
7#include <errno.h>
8#if defined(XP_WIN)
…lines 9–27 unchanged (19 lines)

After

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5#include <stdio.h>
6#include <errno.h>
7#if defined(XP_WIN)
…lines 8–26 unchanged (19 lines)

Before

translation_unit
comment "/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-bas"...
preproc_include
#include "#include"
system_lib_string "<stdio.h>"
preproc_include
#include "#include"
system_lib_string "<errno.h>"
preproc_if
#if "#if"
preproc_defined
defined "defined"
( "("
identifier "XP_WIN"
) ")"
"\n"
preproc_include
#include "# include"
system_lib_string "<windows.h>"
#endif "#endif"
comment "// defined(XP_WIN)"
preproc_include
#include "#include"
string_literal
" "\""
string_content "jsctypes-test-errno.h"
" "\""
preproc_def
#define "#define"
identifier "FAIL"
preproc_arg "{ "...
function_definition
primitive_type "void"
function_declarator
identifier "set_errno"
parameter_list
( "("
parameter_declaration
primitive_type "int"
identifier "status"
) ")"
compound_statement
{ "{"
expression_statement
assignment_expression
identifier "errno"
= "="
identifier "status"
; ";"
} "}"
function_definition
primitive_type "int"
function_declarator
identifier "get_errno"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "errno"
; ";"
} "}"
preproc_if (+58 nodes collapsed)
comment "// defined(XP_WIN)"

After

translation_unit
comment "/* This Source Code Form is subject to the terms of the Mozi"...
preproc_include
#include "#include"
system_lib_string "<stdio.h>"
preproc_include
#include "#include"
system_lib_string "<errno.h>"
preproc_if
#if "#if"
preproc_defined
defined "defined"
( "("
identifier "XP_WIN"
) ")"
"\n"
preproc_include
#include "# include"
system_lib_string "<windows.h>"
#endif "#endif"
comment "// defined(XP_WIN)"
preproc_include
#include "#include"
string_literal
" "\""
string_content "jsctypes-test-errno.h"
" "\""
preproc_def
#define "#define"
identifier "FAIL"
preproc_arg "{ "...
function_definition
primitive_type "void"
function_declarator
identifier "set_errno"
parameter_list
( "("
parameter_declaration
primitive_type "int"
identifier "status"
) ")"
compound_statement
{ "{"
expression_statement
assignment_expression
identifier "errno"
= "="
identifier "status"
; ";"
} "}"
function_definition
primitive_type "int"
function_declarator
identifier "get_errno"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "errno"
; ";"
} "}"
preproc_if (+58 nodes collapsed)
comment "// defined(XP_WIN)"