diff --git a/src/core/parser.js b/src/core/parser.js index 516aba63b..ad5f958e0 100644 --- a/src/core/parser.js +++ b/src/core/parser.js @@ -1116,8 +1116,6 @@ class Lexer { } if (strBuf.length > 127) { warn(`Name token is longer than allowed by the spec: ${strBuf.length}`); - } else if (strBuf.length === 0) { - warn("Name token is empty."); } return Name.get(strBuf.join("")); }