By popular demand, name shader blocks glsl
This way the language being used in there is totally explicit.
commita4745317caae154a0279c8cbc973af28f04a2a73
authorEvan Czaplicki <info@elm-lang.org>
dateMon 19 May 2014, 16:19 (12 years ago)
parent07dba9c
compiler/Parse/Helpers.hs+1−1
@@ -326,7 +326,7 @@ markdown interpolation =
326326
327327shader :: IParser (String, Literal.GLShaderTipe)
328328shader =
329− do try (string "[shader|")
329+ do try (string "[glsl|")
330330 rawSrc <- closeShader id
331331 case glSource rawSrc of
332332 Left err -> parserFail . show $ err