Strange compilation error 8D

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange compilation error 8D

luca deltodesco
Interrupting the compiler from makefile in terminal with Ctrl+C I got a great error from the haxe compiler 8D

^C/usr/share/haxe/std/haxe/macro/Compiler.hx:83: lines 83-91 : Ctrl+C
/usr/share/haxe/std/haxe/macro/Context.hx:112: characters 9-48 : Called from
/usr/share/haxe/std/haxe/macro/Compiler.hx:88: characters 5-26 : Called from
/usr/share/haxe/std/haxe/macro/Compiler.hx:90: characters 5-53 : Called from
--macro:1: character 0 : Called from
Aborted
make: *** [release] Interrupt

somehow me interrupting with Ctrl+C caused it to be injected into the compiler's read of the file haha.

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Strange compilation error 8D

Nicolas Cannasse
Le 19/11/2011 01:05, luca deltodesco a écrit :

> Interrupting the compiler from makefile in terminal with Ctrl+C I got a
> great error from the haxe compiler 8D
>
> ^C/usr/share/haxe/std/haxe/macro/Compiler.hx:83: lines 83-91 : Ctrl+C
> /usr/share/haxe/std/haxe/macro/Context.hx:112: characters 9-48 : Called from
> /usr/share/haxe/std/haxe/macro/Compiler.hx:88: characters 5-26 : Called from
> /usr/share/haxe/std/haxe/macro/Compiler.hx:90: characters 5-53 : Called from
> --macro:1: character 0 : Called from
> Aborted
> make: *** [release] Interrupt
>
> somehow me interrupting with Ctrl+C caused it to be injected into the
> compiler's read of the file haha.

This is a feature : this way you can interupt for instance an infinite
(or very long) loop in a macro, and see where it was stuck.

Best,
Nicolas


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Strange compilation error 8D

bubblebenj
Hehe, the first time is see the
"It's not a bug, it's a feature" that is actually a feature.

Congrats :)

Ben

On Sat, Nov 19, 2011 at 11:12 AM, Nicolas Cannasse <[hidden email]> wrote:
Le 19/11/2011 01:05, luca deltodesco a écrit :

Interrupting the compiler from makefile in terminal with Ctrl+C I got a
great error from the haxe compiler 8D

^C/usr/share/haxe/std/haxe/macro/Compiler.hx:83: lines 83-91 : Ctrl+C
/usr/share/haxe/std/haxe/macro/Context.hx:112: characters 9-48 : Called from
/usr/share/haxe/std/haxe/macro/Compiler.hx:88: characters 5-26 : Called from
/usr/share/haxe/std/haxe/macro/Compiler.hx:90: characters 5-53 : Called from
--macro:1: character 0 : Called from
Aborted
make: *** [release] Interrupt

somehow me interrupting with Ctrl+C caused it to be injected into the
compiler's read of the file haha.

This is a feature : this way you can interupt for instance an infinite (or very long) loop in a macro, and see where it was stuck.

Best,
Nicolas


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org