diff --git a/source/tlang/compiler/lexer.d b/source/tlang/compiler/lexer.d index 3febed3..e6f256f 100644 --- a/source/tlang/compiler/lexer.d +++ b/source/tlang/compiler/lexer.d @@ -325,7 +325,8 @@ public final class Lexer character == '%' || character == '*' || character == '&' || character == '{' || character == '}' || character == '=' || character == '|' || character == '^' || character == '!' || - character == '\n' || character == '~' || character =='.'; + character == '\n' || character == '~' || character =='.' || + character == ':'; } /* Supported escapes \" */ diff --git a/source/tlang/testing/basic1.t b/source/tlang/testing/basic1.t index 23f5584..fd8e999 100644 --- a/source/tlang/testing/basic1.t +++ b/source/tlang/testing/basic1.t @@ -187,6 +187,8 @@ class testClass } + class oops : myModule.testClass {} + class test3 : test2 { class llllll : testClass.test2