let semicolon s =
if fst (last_token s) = BrClose then
match s with parser
| [< '(Semicolon,p) >] -> p
| [< >] -> snd (last_token s)
Could anyone please explain what the statement "match s with parser" does?
Or other uses of the term 'parser' such as
let comma = parser
| [< '(Comma,_) >] -> ()
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
On Aug 21, 2016, at 4:13 PM, Simon Krajewski <si...@haxe.org> wrote: