# HG changeset patch # User Nicholas R. Jankowski # Date 1707328624 18000 # Node ID 1ac527ffc68ce796e0810375511b32e307e9c839 # Parent e6830b0c6fc799b627c5bb8b809aa158882c988d# Parent 67e2f8a62cacb84a2954b42925441bf492915724 maint: Merge default to bytecode-interpreter. diff -r e6830b0c6fc7 -r 1ac527ffc68c libinterp/op-kw-docs --- a/libinterp/op-kw-docs Wed Feb 07 11:50:48 2024 -0500 +++ b/libinterp/op-kw-docs Wed Feb 07 12:57:04 2024 -0500 @@ -421,6 +421,26 @@ Object Oriented Programming for a detailed description.) @seealso{function, functions, func2str, str2func} @end deftypefn +__FILE__ +@c libinterp/parse-tree/lex.ll +-*- texinfo -*- +@deftypefn {} {} __FILE__ +When the lexer recognizes the @qcode{"__FILE__"} keyword it returns a +character array containing the full name and path of the file that is being +executed. @qcode{"__FILE__"} will return @code{stdin} if called from the +command line. +@seealso{__LINE__} +@end deftypefn +__LINE__ +@c libinterp/parse-tree/lex.ll +-*- texinfo -*- +@deftypefn {} {} __LINE__ +When the lexer recognizes the @qcode{"__LINE__"} keyword it returns a numeric +value containing the current input line number of the function or file being +executed. @qcode{"__LINE__"} will return @code{1} if called from the command +line. +@seealso{__FILE__} +@end deftypefn break @c libinterp/parse-tree/oct-parse.yy -*- texinfo -*-