summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-08-24 17:33:04 +0200
committerAraq <rumpf_a@web.de>2012-08-24 17:33:04 +0200
commitd17caa86e841489d92165d9caa13c2d8bc86afd5 (patch)
tree9504e5dd71501887da52fbc1f0fd39294ef913ea /tests/run
parentafcff024a1ab335032aa8a98d844f6fbc701170e (diff)
downloadNim-d17caa86e841489d92165d9caa13c2d8bc86afd5.tar.gz
objects with no ancestor are not implicitely final
Diffstat (limited to 'tests/run')
-rwxr-xr-xtests/run/tpegs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tpegs.nim b/tests/run/tpegs.nim
index 315833326..e64cd8fef 100755
--- a/tests/run/tpegs.nim
+++ b/tests/run/tpegs.nim
@@ -1052,7 +1052,7 @@ type
     charset: set[char]       ## if kind == tkCharSet
     index: int               ## if kind == tkBackref
   
-  TPegLexer = object          ## the lexer object.
+  TPegLexer {.inheritable.} = object          ## the lexer object.
     bufpos: int               ## the current position within the buffer
     buf: cstring              ## the buffer itself
     LineNumber: int           ## the current line number