Skip to content

Commit 02bdf5e

Browse files
committed
Fixed missing scoping constructs ParametricPlot, ParametricPlot3D and Do
1 parent a8adac1 commit 02bdf5e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/de/halirutan/mathematica/parsing/psi/util/LocalizationConstruct.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public class LocalizationConstruct {
3232

3333
private static final Set<String> myModuleLike = Sets.newHashSet("Module", "Block", "With", "DynamicModule");
3434
private static final Set<String> myFunctionLike = Sets.newHashSet("Function");
35-
private static final Set<String> myTableLike = Sets.newHashSet("Table", "Sum", "Integrate", "NSum", "Plot", "Plot3D", "ContourPlot", "ContourPlot3D");
35+
private static final Set<String> myTableLike = Sets.newHashSet("Table", "Sum", "Integrate", "NSum", "Plot", "Plot3D",
36+
"ContourPlot", "ContourPlot3D", "ParametricPlot", "ParametricPlot3D", "Do");
3637
private static final Set<String> myCompileLike = Sets.newHashSet("Compile");
3738
private static final Set<String> myLimitLike = Sets.newHashSet("Limit");
3839
private static final Set<String> myRuleLike = Sets.newHashSet("RuleDelayed");
@@ -112,8 +113,8 @@ public static ConstructType getType(String name) {
112113
}
113114

114115
public enum ConstructType {
115-
MODULE, BLOCK, WITH, FUNCTION, DYNAMICMODULE, TABLE, SUM, NULL, INTEGRATE, NSUM, PLOT, PLOT3D, CONTOURPLOT, CONTOURPLOT3D,
116-
LIMIT, RULEDELAYED, SETDELAYEDPATTERN, MANIPULATE, COMPILE, ANONYMOUSFUNCTION
116+
MODULE, BLOCK, WITH, FUNCTION, DYNAMICMODULE, TABLE, DO, SUM, NULL, INTEGRATE, NSUM, PLOT, PLOT3D, CONTOURPLOT, CONTOURPLOT3D,
117+
LIMIT, RULEDELAYED, SETDELAYEDPATTERN, MANIPULATE, COMPILE, ANONYMOUSFUNCTION, PARAMETRICPLOT, PARAMETRICPLOT3D
117118
}
118119

119120

0 commit comments

Comments
 (0)