Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-09-19 14:35:30 -0400
committerSergey Prigogin2011-09-19 14:35:30 -0400
commit8f4c16e58c784d137cf3b882b8f02a70967bf841 (patch)
tree831c49cdce4f27b169c62826d868ed02c29d6d36
parent67449259a0bb40edac7ebdfeb3408f37e81de7b9 (diff)
downloadorg.eclipse.cdt-8f4c16e58c784d137cf3b882b8f02a70967bf841.tar.gz
org.eclipse.cdt-8f4c16e58c784d137cf3b882b8f02a70967bf841.tar.xz
org.eclipse.cdt-8f4c16e58c784d137cf3b882b8f02a70967bf841.zip
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java2
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java
index f5e6b0812d..6a7a5f2037 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ASTPreprocessorNode.java
@@ -320,7 +320,7 @@ class ASTInclusionStatement extends ASTPreprocessorNode implements IASTPreproces
return fPragmaOnce;
}
- public void setPragamOnceSemantics(boolean value) {
+ public void setPragmaOnceSemantics(boolean value) {
assert fNominationDelegate == null;
fPragmaOnce= value;
}
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java
index 8033fadab4..1e5b95d6bb 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/LocationMap.java
@@ -777,7 +777,7 @@ public class LocationMap implements ILocationResolver {
} else if (locationCtx instanceof LocationCtxFile) {
ASTInclusionStatement stmt = ((LocationCtxFile) locationCtx).getInclusionStatement();
if (stmt != null) {
- stmt.setPragamOnceSemantics(true);
+ stmt.setPragmaOnceSemantics(true);
}
return stmt;
}

Back to the top