lexers = {
  [1] = "null",
  [2] = "python",
  [3] = "cpp",


   Lua knows about the symbolic names
    print(SCLEX_NULL)
    print(SCLEX_PYTHON)
    print(SCLEX_CPP)

Yes, I've known it. But I needed reverse conversion from constant to text. It allowed me to access readable properties like "tabsize.cpp".

-- Roman

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to