Skip to content

Commit f83861b

Browse files
committed
Clean up language spec.
1 parent bd0f4c1 commit f83861b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/main/java/org/byteskript/skript/compiler/SkriptLangSpec.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private SkriptLangSpec() {
212212
new LongLiteral(),
213213
new FloatLiteral(),
214214
new DoubleLiteral(),
215-
new DoubleLiteral()
215+
new BooleanLiteral()
216216
);
217217
registerSyntax(CompileState.STATEMENT,
218218
new ExprVariableThread(),
@@ -233,16 +233,9 @@ private SkriptLangSpec() {
233233
new ExprContains(),
234234
new ExprMatches()
235235
);
236-
registerSyntax(CompileState.STATEMENT,
237-
new ExprVariableThread(),
238-
new ExprVariableAtomic(),
239-
new ExprVariableGlobal(),
240-
new ExprVariable()
241-
);
242236
registerSyntax(CompileState.STATEMENT,
243237
new ExprNewArray(),
244238
new ExprBracket(),
245-
new BooleanLiteral(),
246239
new ExprThisThing(),
247240
new ExprTernaryOtherwise(),
248241
new ExprBinaryOtherwise(),

0 commit comments

Comments
 (0)