-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
parserLanguage parsing and surface syntaxLanguage parsing and surface syntax
Description
I wasn't able to build a minimal example (like always with parsing errors?! )
But Julia insisted that there is an ERROR: syntax: unexpected end
The place was consistently at that one end of some method, even though that I moved the code around and un-commented stuff.
The real error was this though:
#same file, at the beginning (probably never moved the "end method" before this)
let shader_cache = Dict{(GLenum, Vector{Uint8}), GLuint}()
function test()
get(shader_cache, "s") do
error("shader $shadername didn't compile. \n$(getinfolog(shaderid)") # <- one bracket missing
end
end
endTested: Windows: 0 day master, 0.3.5, Ubuntu: 0.4 some days old.
Best,
Simon
Metadata
Metadata
Assignees
Labels
parserLanguage parsing and surface syntaxLanguage parsing and surface syntax