diff options
author | Marius Kintel <marius@kintel.net> | 2013-06-13 05:16:26 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-06-13 05:16:26 (GMT) |
commit | bd0248e109f6a290570bca55949583ea80bdce38 (patch) | |
tree | 67a4409890ef44544b08af915a428cf18a283de7 /src/parser.y | |
parent | 0cb8ab508ec1b3a072a2d5ef63fe1d46f16310f0 (diff) |
Fixed a bug where changing a file during a large automatic reload could cause a crash
Diffstat (limited to 'src/parser.y')
-rw-r--r-- | src/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.y b/src/parser.y index 2b07f14..0977efa 100644 --- a/src/parser.y +++ b/src/parser.y @@ -127,7 +127,7 @@ input: /* empty */ | -TOK_USE { rootmodule->usedlibs[$1] = NULL; } input | +TOK_USE { rootmodule->usedlibs.insert($1); } input | statement input ; inner_input: |