Giter Club home page Giter Club logo

Comments (4)

kubo39 avatar kubo39 commented on August 26, 2024

uhhh....

(dmd-2.076.1)$ cat lex.d
import std.stdio;

void main()
{
    writeln("0b: ", 0b);
    writeln("0buL: ", 0buL);

    writeln("0x_: ", 0x_);
    writeln("0x: ", 0x);
    writeln("0xuL: ", 0xuL);

    writeln("0_.", 0_.);
    writeln("0_e0: ", 0_e0);
}
(dmd-2.076.1)$ rdmd lex.d
0b: 0
0buL: 0
0x_: 0
0x: 0
0xuL: 0
0_.0
0_e0: 0

from d-grammar.

kubo39 avatar kubo39 commented on August 26, 2024

0b and 0x_ fixed, but 0_. and 0_e0 still exists.

from d-grammar.

kubo39 avatar kubo39 commented on August 26, 2024

0_ too. (Lexer treats this as an octal number.)

from d-grammar.

kubo39 avatar kubo39 commented on August 26, 2024

Already fixed.

from d-grammar.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.