scan-skel: recognize the @directives directly in scanner
authorTheophile Ranquet <theophile.ranquet@gmail.com>
Thu, 4 Oct 2012 13:23:40 +0000 (15:23 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 4 Oct 2012 15:13:38 +0000 (17:13 +0200)
commit92f39ba6dc740ac1f9597e256014ae8740b0477d
treee8ba396a9165005126cec1783591c513c18f0930
parent896517cdf0bac6da7fabc52509205724eb1a9e28
scan-skel: recognize the @directives directly in scanner

* src/scan-skel.l (at_directive, at_init): New.
(at_ptr): New, function pointer used to call the right at_directive
function (at_basename, etc.).
(outname): Rename as...
(out_name): this, for consistency with out_lineno.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
src/scan-skel.l