1. Ned Batchelder
  2. jslex

Source

jslex / tests.py

Diff from to

File tests.py

         ("0xa123ghi", ["hnum 0xa123", "id ghi"]),
         # keywords
         ("function Function FUNCTION", ["keyword function", "id Function", "id FUNCTION"]),
+        ("const constructor in inherits", ["keyword const", "id constructor", "keyword in", "id inherits"]),
+        ("true true_enough", ["reserved true", "id true_enough"]),
         # strings
         (''' 'hello' "hello" ''', ["string 'hello'", 'string "hello"']),
         (r""" 'don\'t' "don\"t" '"' "'" '\'' "\"" """,