mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-27 14:51:14 -03:00
Fix line number reporting in new parser
This commit is contained in:
@@ -92,8 +92,8 @@ class function_info_t
|
||||
*/
|
||||
void function_init();
|
||||
|
||||
/** Add a function. */
|
||||
void function_add(const function_data_t &data, const parser_t &parser);
|
||||
/** Add a function. definition_line_offset is the line number of the function's definition within its source file */
|
||||
void function_add(const function_data_t &data, const parser_t &parser, int definition_line_offset = 0);
|
||||
|
||||
/** Removes a function from our internal table, returning true if it was found and false if not */
|
||||
bool function_remove_ignore_autoload(const wcstring &name);
|
||||
|
||||
Reference in New Issue
Block a user