Mercurial > octave-nkf
diff src/ov-usr-fcn.h @ 3165:e4bbfc196e53
[project @ 1998-04-16 03:01:47 by jwe]
author | jwe |
---|---|
date | Thu, 16 Apr 1998 03:05:03 +0000 |
parents | ebbc34ff7f66 |
children | 30770ba4457a |
line wrap: on
line diff
--- a/src/ov-usr-fcn.h Tue Apr 14 20:56:53 1998 +0000 +++ b/src/ov-usr-fcn.h Thu Apr 16 03:05:03 1998 +0000 @@ -73,8 +73,14 @@ void stash_fcn_file_name (void); + void mark_fcn_file_up_to_date (time_t t) + { t_checked = t; } + void stash_fcn_file_time (time_t t) - { t_parsed = t; } + { + t_parsed = t; + mark_fcn_file_up_to_date (t); + } void stash_symtab_ptr (symbol_record *sr) { symtab_entry = sr; } @@ -85,6 +91,9 @@ time_t time_parsed (void) const { return t_parsed; } + time_t time_checked (void) const + { return t_checked; } + void mark_as_system_fcn_file (void); bool is_system_fcn_file (void) const @@ -157,6 +166,10 @@ // The time the file was parsed. time_t t_parsed; + // The time the file was last checked to see if it needs to be + // parsed again. + time_t t_checked; + // True if this function came from a file that is considered to be a // system function. This affects whether we check the time stamp // on the file to see if it has changed.