scan-code: factor the handling of the type in $<TYPE>$
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 10:06:28 +0000 (12:06 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 26 Jul 2012 15:03:54 +0000 (17:03 +0200)
commit65a99eca252e9c8c042fb529d86046cbc8adad95
treeb27136823414ddcd44c742e091fe2b2f3e3dd058
parent9a86ee6058b0fa85f2625b4a0a784eab5098ed58
scan-code: factor the handling of the type in $<TYPE>$

* src/scan-code.l (fetch_type_name): New.
(handle_action_dollar): Use it.
(gt_ptr): Remove, useless.
src/scan-code.l