diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-11-06 16:40:07 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-11-06 16:40:07 +0100 |
| commit | b106b7ce0bfac5d4f955dc98be9a35d79e0947ff (patch) | |
| tree | 48bb187b80b2b10f7a1d76bf5116bf3ea16669a2 /doc/_extensions/autojsdoc/parser | |
| parent | 478691b95de9eb0d03c145e547a773de40ca9a4d (diff) | |
| parent | dd70c684268b538f02ea4fa0425f9b70136b3300 (diff) | |
[MERGE] forward port branch 12.0 up to dd70c684268
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]) |
