Commit Graph

16 Commits

Author SHA1 Message Date
Andreas Rumpf
939df8cbda ensure the avr example keeps compiling (#17663)
* ensure the avr example keeps compiling

* Update tests/avr/thello.nim

* now compiles properly
2021-04-07 13:40:57 +02:00
Andreas Rumpf
6317e4004d make --gc:arc --exceptions:quirky work again [backport:1.4] (#16583)
* make --gc:arc --exceptions:quirky work again [backport:1.4]

* fixes #16404 [backport:1.4]
2021-01-04 19:44:50 +01:00
Jacek Sieka
7d6cbf290a Error -> Defect for defects (#13908)
* Error -> Defect for defects

The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.

With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
2020-04-28 19:56:01 +02:00
Arne Döring
514674cb38 use abort instead of quit (#10872) 2019-03-21 06:52:30 +01:00
Vindaar
8e600b78ca add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267)
* add unsetControlCHook to remove a Ctrl-C hook after it was set

Adds the inverse proc to setControlCHook in order to lift a Ctrl-C
hook after it has been set.

* remove check for noSignalHandler in system/excpt.nim
2019-01-10 13:44:44 +01:00
Yuriy Glukhov
ce63490928 Yield in try 2018-05-09 22:25:28 +03:00
Andreas Rumpf
74fe7a800b make tests green again 2018-05-02 13:34:54 +02:00
def
2d3db9cd6b Fix type of setControlCHook parameter 2015-01-27 12:00:08 +01:00
def
7894f50a56 Get rid of more deprecation warnings by renaming exceptions 2015-01-27 11:58:15 +01:00
Araq
09ab1703e1 fixes #1444 2014-08-31 01:07:58 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
5e839d50b4 fixes DLL generation 2014-04-21 03:44:48 +02:00
Araq
e3fab47508 attempt to make some tests green 2014-04-21 00:07:31 +02:00
Araq
52851b722d --os:standalone works again 2013-06-30 21:15:28 +02:00
Zahary Karadjov
0cb95891d3 fixes nimrtl compilation 2013-01-28 00:47:41 +02:00
Araq
c7fc519fa3 forgot to add lib/system/embedded.nim 2012-03-31 01:18:49 +02:00