Skip to content

Commit

Permalink
Fixed error: 1d and 1f are ints
Browse files Browse the repository at this point in the history
  • Loading branch information
Informa-Tiger committed Jul 1, 2022
1 parent aa2d069 commit b5c3a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/compiler/lexer/Lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ export class Lexer {
}

if (this.currentChar == 'd' || this.currentChar == 'f') {
tt == TokenType.floatingPointConstant;
tt = TokenType.floatingPointConstant;
this.next();
if (radix != 10) {
this.pushError("Eine float/double-Konstante darf nicht mit 0, 0b oder 0x beginnen.", this.pos - posStart, "error", this.line, this.column - (this.pos - posStart));
Expand Down

0 comments on commit b5c3a53

Please sign in to comment.