docs: function invokeInitDialectFunctions(dialect, lexer, options) {
    var initfnkey = "__init";
    if(dialect[initfnkey]) {
      dialect[initfnkey](lexer, dialect, options);
    }
    if(dialect.lextab[initfnkey]) {
      dialect.lextab[initfnkey](lexer, dialect, options);
    }
    if(dialect.readtab[initfnkey]) {
      dialect.readtab[initfnkey](lexer, dialect, options);
    }
    if(dialect.gentab[initfnkey]) {
      dialect.gentab[initfnkey](lexer, dialect, options);
    }
  }