Fix logic for whether to regenerate parsers in specs
This commit is contained in:
parent
2e35587161
commit
4f726da881
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ const TSLanguage *get_test_language(const string &language_name) {
|
|||
|
||||
int parser_mtime = get_modified_time(parser_filename);
|
||||
|
||||
int input_mtime = (grammar_mtime < libcompiler_mtime) ?
|
||||
int input_mtime = (grammar_mtime > libcompiler_mtime) ?
|
||||
grammar_mtime :
|
||||
libcompiler_mtime;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue