...
Run Format

Source file test/dwarf/linedirectives.go

Documentation: test/dwarf

     1  // run
     2  
     3  // Copyright 2011 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  //line foo/bar.y:4
     8  package main
     9  //line foo/bar.y:60
    10  func main() { 
    11  //line foo/bar.y:297
    12  	f, l := 0, 0
    13  //line yacctab:1
    14  	f, l = 1, 1
    15  //line yaccpar:1
    16  	f, l = 2, 1
    17  //line foo/bar.y:82
    18  	f, l = 3, 82
    19  //line foo/bar.y:90
    20  	f, l = 3, 90
    21  //line foo/bar.y:92
    22  	f, l = 3, 92
    23  //line foo/bar.y:100
    24  	f, l = 3, 100
    25  //line foo/bar.y:104
    26  	l = 104
    27  //line foo/bar.y:112
    28  	l = 112
    29  //line foo/bar.y:117
    30  	l = 117
    31  //line foo/bar.y:121
    32  	l = 121
    33  //line foo/bar.y:125
    34  	l = 125
    35  //line foo/bar.y:133
    36  	l = 133
    37  //line foo/bar.y:146
    38  	l = 146
    39  //line foo/bar.y:148
    40  //line foo/bar.y:153
    41  //line foo/bar.y:155
    42  	l = 155
    43  //line foo/bar.y:160
    44  
    45  //line foo/bar.y:164
    46  //line foo/bar.y:173
    47  
    48  //line foo/bar.y:178
    49  //line foo/bar.y:180
    50  //line foo/bar.y:185
    51  //line foo/bar.y:195
    52  //line foo/bar.y:197
    53  //line foo/bar.y:202
    54  //line foo/bar.y:204
    55  //line foo/bar.y:208
    56  //line foo/bar.y:211
    57  //line foo/bar.y:213
    58  //line foo/bar.y:215
    59  //line foo/bar.y:217
    60  //line foo/bar.y:221
    61  //line foo/bar.y:229
    62  //line foo/bar.y:236
    63  //line foo/bar.y:238
    64  //line foo/bar.y:240
    65  //line foo/bar.y:244
    66  //line foo/bar.y:249
    67  //line foo/bar.y:253
    68  //line foo/bar.y:257
    69  //line foo/bar.y:262
    70  //line foo/bar.y:267
    71  //line foo/bar.y:272
    72  	if l == f {
    73  //line foo/bar.y:277
    74  	panic("aie!")
    75  //line foo/bar.y:281
    76  	}
    77  //line foo/bar.y:285
    78  	return
    79  //line foo/bar.y:288
    80  //line foo/bar.y:290
    81  }
    82  //line foo/bar.y:293
    83  //line foo/bar.y:295
    84  

View as plain text