File tree 3 files changed +1
-14
lines changed
3 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -2523,7 +2523,7 @@ void
2523
2523
Lexer::start_line (int current_line, int current_column)
2524
2524
{
2525
2525
if (line_map)
2526
- line_map-> start_line ( current_line, current_column);
2526
+ linemap_line_start (line_table, current_line, current_column);
2527
2527
}
2528
2528
2529
2529
} // namespace Rust
Original file line number Diff line number Diff line change @@ -67,14 +67,6 @@ Linemap::stop ()
67
67
this ->in_file_ = false ;
68
68
}
69
69
70
- // Start a new line.
71
-
72
- void
73
- Linemap::start_line (unsigned lineno, unsigned linesize)
74
- {
75
- linemap_line_start (line_table, lineno, linesize);
76
- }
77
-
78
70
// Return the Linemap to use for the gcc backend.
79
71
80
72
Linemap *
Original file line number Diff line number Diff line change @@ -47,11 +47,6 @@ class Linemap
47
47
// 0, but it will be non-zero if the Rust source has a //line comment.
48
48
void start_file (const char *file_name, unsigned int line_begin);
49
49
50
- // Subsequent Location values will come from the line LINE_NUMBER,
51
- // in the current file. LINE_SIZE is the size of the line in bytes.
52
- // This will normally be called for every line in a source file.
53
- void start_line (unsigned int line_number, unsigned int line_size);
54
-
55
50
// Stop generating Location values. This will be called after all
56
51
// input files have been read, in case any cleanup is required.
57
52
void stop ();
You can’t perform that action at this time.
0 commit comments