diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/parsermodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index c90d34d..74af7fe 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -2385,6 +2385,11 @@ validate_atom(node *tree) for (pos = 1; res && (pos < nch); ++pos) res = validate_ntype(CHILD(tree, pos), STRING); break; + case DOT: + res = (nch == 3 && + validate_ntype(CHILD(tree, 1), DOT) && + validate_ntype(CHILD(tree, 2), DOT)); + break; default: res = 0; break; |