mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
added strutils.parseEnum; fixes #95
This commit is contained in:
@@ -12,6 +12,7 @@ Bugfixes
|
||||
|
||||
- Fixed a bug where the compiler would "optimize away" valid constant parts of
|
||||
a string concatenation.
|
||||
- Fixed a bug concerning implicit type conversions in ``case`` statements.
|
||||
|
||||
|
||||
Library Additions
|
||||
@@ -24,6 +25,9 @@ Library Additions
|
||||
compile time as if was a macro.
|
||||
- Added ``macros.emit`` that can emit an arbitrary computed string as nimrod
|
||||
code during compilation.
|
||||
- Added ``strutils.parseEnum``.
|
||||
- The stdlib can now be avoided to a point where C code generation for 16bit
|
||||
micro controllers is feasible.
|
||||
|
||||
|
||||
Changes affecting backwards compatibility
|
||||
@@ -33,7 +37,7 @@ Changes affecting backwards compatibility
|
||||
The ``system``, ``os``, ``osproc`` and ``memfiles`` modules use the wide
|
||||
string versions of the WinAPI. Use the ``-d:useWinAnsi`` switch to revert
|
||||
back to the old behaviour which uses the Ansi string versions.
|
||||
- ``static`` is now a keyword.
|
||||
- ``static`` and ``do`` are now keywords.
|
||||
- Templates now participate in overloading resolution which can break code that
|
||||
uses templates in subtle ways. Use the new ``immediate`` pragma for templates
|
||||
to get a template of old behaviour.
|
||||
@@ -56,6 +60,7 @@ Language Additions
|
||||
------------------
|
||||
|
||||
- Added explicit ``static`` sections for enforced compile time evaluation.
|
||||
- Added an alternative notation for lambdas with ``do``.
|
||||
- ``addr`` is now treated like a prefix operator syntactically.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user