summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/system.nim8
-rwxr-xr-xlib/wrappers/lua/lua.nim4
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/system.nim b/lib/system.nim
index e0f0b4fe5..157c11477 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -145,12 +145,12 @@ type
   E_Base* {.compilerproc.} = object of TObject ## base exception class;
                                                ## each exception has to
                                                ## inherit from `E_Base`.
-    name*: cstring            ## The exception's name is its Nimrod identifier.
+    name: cstring             ## The exception's name is its Nimrod identifier.
                               ## This field is filled automatically in the
                               ## ``raise`` statement.
-    msg* {.exportc: "message".}: cstring ## the exception's message. Not
-                                         ## providing an
-                                         ## exception message is bad style.
+    msg* {.exportc: "message".}: string ## the exception's message. Not
+                                        ## providing an exception message 
+                                        ## is bad style.
 
   EAsynch* = object of E_Base ## Abstract exception class for
                               ## *asynchronous exceptions* (interrupts).
diff --git a/lib/wrappers/lua/lua.nim b/lib/wrappers/lua/lua.nim
index f12c5e5a4..7f419fa83 100755
--- a/lib/wrappers/lua/lua.nim
+++ b/lib/wrappers/lua/lua.nim
@@ -41,8 +41,8 @@ when defined(MACOSX):
     LUA_LIB_NAME* = "liblua(|5.2|5.1|5.0).dylib"
 elif defined(UNIX): 
   const 
-    LUA_NAME* = "liblua(|5.2|5.1|5.0).so.(|0)"
-    LUA_LIB_NAME* = "liblua(|5.2|5.1|5.0).so.(|0)"
+    LUA_NAME* = "liblua(|5.2|5.1|5.0).so(|.0)"
+    LUA_LIB_NAME* = "liblua(|5.2|5.1|5.0).so(|.0)"
 else: 
   const 
     LUA_NAME* = "lua(|5.2|5.1|5.0).dll"