summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
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