Search notes:

VIM: sruct source_cookie

The source_cookie struct is used to store info for each sourced file.
It is shared between do_source() and getsourceline().
This is required because it needs to be handed to do_cmdline() and sourcing can be done recursively.
struct source_cookie
{
    FILE        *fp;            // opened file for sourcing
    char_u      *nextline;      // if not NULL: line that was read ahead
    linenr_T    sourcing_lnum;  // line number of the source file
    int         finished;       // ":finish" used
#ifdef USE_CRNL
    int         fileformat;     // EOL_UNKNOWN, EOL_UNIX or EOL_DOS
    int         error;          // TRUE if LF found after CR-LF
#endif
#ifdef FEAT_EVAL
    linenr_T    breakpoint;     // next line with breakpoint or zero
    char_u      *fname;         // name of sourced file
    int         dbg_tick;       // debug_tick when breakpoint was set
    int         level;          // top nesting level of sourced file
#endif
    vimconv_T   conv;           // type of conversion
};

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758206326, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/sources/src/scriptfile_c/source_cookie(57): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78