1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +02:00

Include guard generation option based on file path relative to the source folder. Bug 235586.

This commit is contained in:
Sergey Prigogin 2010-05-09 00:32:27 +00:00
parent 0bb3286605
commit 86647ac081

View file

@ -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);