summary refs log tree commit diff stats
path: root/compiler/transf.nim
Commit message (Expand)AuthorAgeFilesLines
...
* Replace countup(x, y) with x .. yClyybber2019-05-071-3/+3
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-9/+9
* fixes #11050Araq2019-04-171-0/+2
* dfa.nim: track object/tuple field accesses more precisely; sink(o.x); sink(o....Araq2019-04-161-2/+2
* make strscans module work with --newruntimeAndreas Rumpf2019-04-141-1/+1
* make parseopt compile with --newruntimeAraq2019-04-101-1/+5
* destructors: we are cooking nowAraq2019-04-061-0/+2
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-1/+1
* fixes #10807 (#10814)cooldome2019-03-121-0/+4
* introduce tfHasOwned for fast must-move checkings; removed tfAcyclic as the G...Andreas Rumpf2019-03-051-1/+2
* Initial version of the hot-code reloading support for native targets (#10729)zah2019-02-261-6/+12
* Tuple unpacking now works for `for` vars (#10152)Neelesh Chandola2019-02-231-7/+23
* make tests green againAndreas Rumpf2019-02-081-2/+2
* Fix wrong result in tuple assignment (#9340)LemonBoy2019-02-081-0/+34
* fixes some bugAndreas Rumpf2019-02-061-0/+1
* Show lineinfo of for in yield (#9779)Alexander Ivanov2018-12-131-0/+5
* VM: don't inject destructor calls, refs #7041Andreas Rumpf2018-11-061-13/+16
* Transf minor code optimization (#9433)cooldome2018-10-191-37/+12
* Change the order of compilation passes, transformation is made lazy at code g...cooldome2018-10-181-22/+42
* fixes #5519Araq2018-10-181-3/+6
* fixes #7972Araq2018-10-181-10/+13
* Field checks for everybody (#8957)LemonBoy2018-10-091-1/+1
* Fix transformation of yield in inline context (#9135)LemonBoy2018-10-091-15/+28
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-091-1/+1
* enable destructors for top level statements; needs to be documentedAndreas Rumpf2018-09-241-4/+4
* Revert #7964LemonBoy2018-09-211-6/+5
* fixes #1616; fixes 'nim doc' regressionsAndreas Rumpf2018-09-171-1/+2
* Fix AST generation for case statements (#8908)LemonBoy2018-09-071-1/+5
* fixes merge conflictAndreas Rumpf2018-08-191-5/+6
|\
| * Fix unsound transform pass (#8633)LemonBoy2018-08-141-0/+4
| * Mysterious fix for #8550 (#8561)LemonBoy2018-08-121-5/+2
* | more progress on destructor based stringsAndreas Rumpf2018-07-131-4/+4
|/
* make tests green againAndreas Rumpf2018-07-051-0/+2
* allow referencing other parameters in default parameter valuesZahary Karadjov2018-06-161-0/+46
* fixes yet another merge conflictAraq2018-06-111-1/+1
|\
| * Removed oldIterTranf featureYuriy Glukhov2018-06-101-1/+1
* | fixex merge conflictsAraq2018-06-081-2/+6
|\|
| * Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-151-52/+57
| |\
| * | Don't leak sem PContext into transfYuriy Glukhov2018-05-091-6/+5
| * | Closure iter transformationYuriy Glukhov2018-05-091-11/+14
* | | AST change: keep nkStaticStmt in the AST for incremental compilation supportAndreas Rumpf2018-06-031-1/+1
* | | baby steps for incremental compilationAndreas Rumpf2018-05-301-2/+2
* | | refactoring: remove idents.legacy global variable and pass the IdentCache aro...Andreas Rumpf2018-05-271-3/+3
* | | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-3/+3
* | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-4/+4
* | | remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-5/+5
| |/ |/|
* | options.nim: no global variables anymoreAndreas Rumpf2018-05-131-3/+3
* | transf and vmgen compile againAndreas Rumpf2018-05-121-43/+46
|/
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-3/+3
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-3/+3
"w"> (void) signal(SIGTERM, SIG_IGN); if (traversal) dump_traversal_history(); #ifndef NOSIGHUP if (sig != SIGHUP) { #endif /* NOSIGHUP */ if (!dump_output_immediately) { /* * cleanup() also calls cleanup_files(). */ cleanup(); } if (sig != 0) { printf("\r\nExiting via interrupt: %d\r\n", sig); fflush(stdout); } #ifndef NOSIGHUP } else { cleanup_files(); } #endif /* NOSIGHUP */ #ifndef NOSIGHUP (void) signal(SIGHUP, SIG_DFL); #endif /* NOSIGHUP */ (void) signal(SIGTERM, SIG_DFL); #ifndef VMS (void) signal(SIGINT, SIG_DFL); #endif /* !VMS */ #ifdef SIGTSTP if (no_suspend) (void) signal(SIGTSTP, SIG_DFL); #endif /* SIGTSTP */ if (sig != 0) { exit(0); } } /* * Called by Interrupt handler or at quit time. * Erases the temporary files that lynx created * temporary files are removed by tempname * which created them. */ PUBLIC void cleanup_files NOARGS { char filename[256]; tempname(filename, REMOVE_FILES); FREE(lynx_temp_space); } PUBLIC void cleanup NOARGS { int i; #ifdef VMS extern BOOLEAN DidCleanup; #endif /* VMS */ /* * Cleanup signals - just in case. * Ignore further interrupts. - mhc: 11/2/91 */ #ifndef NOSIGHUP (void) signal(SIGHUP, SIG_IGN); #endif /* NOSIGHUP */ (void) signal (SIGTERM, SIG_IGN); #ifndef VMS /* use ttclose() from cleanup() for VMS */ (void) signal (SIGINT, SIG_IGN); #endif /* !VMS */ if (LYCursesON) { move(LYlines-1, 0); clrtoeol(); lynx_stop_all_colors (); refresh(); stop_curses(); } #ifdef EXP_CHARTRANS_AUTOSWITCH #ifdef LINUX /* * Currently implemented only for LINUX: Restore original font. */ UCChangeTerminalCodepage(-1, (LYUCcharset*)0); #endif /* LINUX */ #endif /* EXP_CHARTRANS_AUTOSWITCH */ cleanup_files(); for (i = 0; i < nhist; i++) { FREE(history[i].title); FREE(history[i].address); FREE(history[i].post_data); FREE(history[i].post_content_type); FREE(history[i].bookmark); } nhist = 0; #ifdef VMS ttclose(); DidCleanup = TRUE; #endif /* VMS */ fflush(stdout); fflush(stderr); if (LYTraceLogFP != NULL) { fclose(LYTraceLogFP); LYTraceLogFP = NULL; #if !defined(VMS) || (defined(VMS) && !defined(VAXC) && !defined(UCX)) *stderr = LYOrigStderr; #endif /* !VMS || (VMS && !VAXC && !UCX) */ } }