mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Include guard generation option based on file path relative to the source folder. Bug 235586.
This commit is contained in:
parent
0bb3286605
commit
86647ac081
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ public class StubUtility {
|
|||
if (position.getLength() > 0) {
|
||||
int[] offsets= position.getOffsets();
|
||||
for (int j= 0; j < offsets.length; j++) {
|
||||
final int offset = offsets[j] ;
|
||||
final int offset = offsets[j];
|
||||
try {
|
||||
int startLine= doc.getLineOfOffset(offset);
|
||||
int startOffset= doc.getLineOffset(startLine);
|
||||
|
|
Loading…
Add table
Reference in a new issue