Stewart Gordon Wrote:
> Anyway, attached is the result. Can anybody do better (other than by
> telling it to treat D as C or some other language instead)?
I don't see how the lexer is being chosen.
Programmer's Notepad does it correctly.
"Andrei Alexandrescu" wrote in message
news:h5vtj8$1l7...@digitalmars.com...
Lionello Lunesu wrote:
"Andrei Alexandrescu" wrote in message
news:h5ttfi$cf...@digitalmars.com...
Lionello Lunesu wrote:
"Jeremie Pelletier" wrote in message
news:h5sl4c$173...@digitalmars.com...
It's especi
Stewart Gordon Wrote:
> For the record, there's a SciLexer.dll in my Notepad++ dir, but no
> d.properties to be found. The SciLexer.dll reports itself as file
> version 1.7.8.0, product version 1.78. So maybe the question is of what
> effect replacing it with a fork of version 1.76 would have
Sergey Gromov Wrote:
> Or, even better, to ask Scintilla developers to include my lexer into
> the official bundle. May be worth a try.
Uh... that's not an option.
Ary Borenszweig Wrote:
> Jarrett Billingsley wrote:
> > On Wed, Aug 12, 2009 at 9:18 AM, Ary Borenszweig
> > wrote:
> >> This compiles and runs in D2:
> >>
> >> --
> >> import std.stdio;
> >>
> >> auto foo() {
> >>return 1;
> >> }
> >>
> >> void main() {
> >>writefln("%s", foo());
> >> }
Just came across this while porting my code to enforce the use of shared.
---
module test;
shared class Foo {
this() {}
}
---
Error: cannot implicitly convert expression (this) of type shared(Foo) to
test.Foo
Of course I could just use new shared(Foo) but that would allow non-shared
instance
On Thu, 13 Aug 2009 09:34:50 -0700, Jeremie Pelletier
wrote:
Just came across this while porting my code to enforce the use of shared.
---
module test;
shared class Foo {
this() {}
}
---
Error: cannot implicitly convert expression (this) of type shared(Foo)
to test.Foo
Of course I cou
Michel Fortin wrote:
Guess one could use the same workaround for moving
dmd over to "dmd1", and make dmd into a symlink ?
dmd -> dmd1 # depending on
dmd -> dmd2 # your preference
That's something I'd really like to see.
It's done the same with GCC, too:
/usr/bin/gcc -> gcc-4.0
/usr/bin/gcc
Sergey Gromov wrote:
Thu, 13 Aug 2009 01:40:47 +0100, Stewart Gordon wrote:
It puzzles me that they didn't make this plugin powerful enough to
highlight the language it (and indeed the whole of Notepad++) is written
in. Even more so considering the sheer number of C-like languages out
there
"Kagamin" wrote in message
news:h60euh$2sg...@digitalmars.com...
> Stewart Gordon Wrote:
>
>> Anyway, attached is the result. Can anybody do better (other than by
>> telling it to treat D as C or some other language instead)?
>
> I don't see how the lexer is being chosen.
> Programmer's Notepad
Jason House escribió:
Ary Borenszweig Wrote:
Jarrett Billingsley wrote:
On Wed, Aug 12, 2009 at 9:18 AM, Ary Borenszweig wrote:
This compiles and runs in D2:
--
import std.stdio;
auto foo() {
return 1;
}
void main() {
writefln("%s", foo());
}
--
Since when a non-templated function c
Ary Borenszweig wrote:
Since when a non-templated function can have its return type deduced? :)
The support for it is limited, basically the function body cannot have
any forward references to other auto functions.
12 matches
Mail list logo