mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Fix sporadic interrogate parser issue
This commit is contained in:
parent
433ed001fa
commit
893740478c
@ -1469,7 +1469,7 @@ handle_include_directive(const string &args, int first_line,
|
||||
|
||||
// Don't include it if we included it before and it had #pragma once.
|
||||
ParsedFiles::const_iterator it = _parsed_files.find(file);
|
||||
if (it->_pragma_once) {
|
||||
if (it != _parsed_files.end() && it->_pragma_once) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user