1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: fix stuck parsing of 'enum{}' + handle such bugs

This commit is contained in:
Delyan Angelov
2020-01-21 19:47:52 +02:00
committed by Alexander Medvednikov
parent ae3d84df6b
commit f4834bd85d
3 changed files with 38 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ module gl
#flag @VROOT/thirdparty/glad/glad.o
// joe-c: fix & remove
pub enum TmpGlImportHack{}
pub enum TmpGlImportHack{ non_empty }
pub fn init_glad() {
ok := C.gladLoadGL()