Browse Source

WIP: Floating pooint literal/constant support

constants
Tristan B. V. Kildaire 7 months ago
parent
commit
2dbe14b490
  1. 6
      source/tlang/compiler/lexer.d

6
source/tlang/compiler/lexer.d

@ -125,6 +125,12 @@ public final class Lexer
/* The splitter token to finally insert */
string splitterToken;
gprintln("Build up: "~currentToken);
gprintln("Current char: "~currentChar);
/* FIXME: Add floating point support here */
/* TODO: IF buildUp is all numerical and we have dot go into float mode */
/**
* Here we check if we have a `.` and that the characters

Loading…
Cancel
Save