diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-10-29 11:56:32 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-10-29 11:56:32 +0100 |
| commit | a299517f8327e9cd6036dbd0920ed5d3e9dac75a (patch) | |
| tree | fbca208c214184e94bfa6868982c9078736ff71d /doc/_extensions/autojsdoc/parser | |
| parent | 62b6889fe14d6781b4ffddc8f5b0f8f6db16672c (diff) | |
| parent | 6136f0c02e5c15d245c2b19d990900314be8b8f4 (diff) | |
[MERGE] forward port branch saas-11.3 up to 6136f0c02e5
Diffstat (limited to 'doc/_extensions/autojsdoc/parser')
| -rw-r--r-- | doc/_extensions/autojsdoc/parser/types.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/_extensions/autojsdoc/parser/types.py b/doc/_extensions/autojsdoc/parser/types.py index 8737b26ecc9..69836f46ac4 100644 --- a/doc/_extensions/autojsdoc/parser/types.py +++ b/doc/_extensions/autojsdoc/parser/types.py @@ -44,6 +44,8 @@ def tokenize(typespec): yield (LITERAL, ast.literal_eval(string)) elif toktype == token.ENDMARKER: return + elif toktype == token.NEWLINE: + pass else: raise ValueError("Unknown typespec token %s" % token.tok_name[toktype]) |
