diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2020-02-17 16:33:55 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2020-02-23 09:49:33 +0100 |
commit | ebcde1de42588e697e0f4eaed9f6f0ea6a77a2cd (patch) | |
tree | e3a2cc770011f85c43a29a6c026e2dd103e22739 /src/nvim/viml/parser/expressions.h | |
parent | 38cda18626fc86209068d8282ac41edea6967b88 (diff) | |
download | rneovim-ebcde1de42588e697e0f4eaed9f6f0ea6a77a2cd.tar.gz rneovim-ebcde1de42588e697e0f4eaed9f6f0ea6a77a2cd.tar.bz2 rneovim-ebcde1de42588e697e0f4eaed9f6f0ea6a77a2cd.zip |
nvim:eval: Fix enum declaration for ListLenSpecials
Instead of declaring an enum, this creates a global variable. As gcc10
uses -fno-common by default, global variables declared with the same
name more than once is not allowed anymore revealing this issue.
Each time this header is included, we define the enum name as a global
variable.
See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
Diffstat (limited to 'src/nvim/viml/parser/expressions.h')
0 files changed, 0 insertions, 0 deletions