Skip to content

Commit 02374a1

Browse files
committed
Small stuff
1 parent 83c157b commit 02374a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/source/pl/core/lexer.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,9 @@ namespace pl::core {
341341
if (results.id==LexerToken::EndOfFile)
342342
break;
343343

344-
if (results.id==(unsigned short int)-1)
345-
break;
346-
347344
switch (results.id) {
345+
/*case (lexertl::smatch::id_type)-1:
346+
break;*/
348347
case LexerToken::NewLine: {
349348
++line;
350349
std::size_t len = results.first - lineStart;

0 commit comments

Comments
 (0)