discover/grub2: Initial grub2 lexer
authorJeremy Kerr <jk@ozlabs.org>
Tue, 10 Sep 2013 03:01:55 +0000 (11:01 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 24 Sep 2013 05:14:59 +0000 (13:14 +0800)
commit0ac0cc8dbd8c3687880f3115ae41f9903e9f2333
tree3459bc719b4a6378ebeb5698fed54318bb616d8f
parent2817d0f575cd99bfc040e944e75aa2afd38597b7
discover/grub2: Initial grub2 lexer

Add a simple flex lexer to tokenise our grub2 config files.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/grub2/grub2.h [new file with mode: 0644]
discover/grub2/lexer.l [new file with mode: 0644]
discover/grub2/parser.y [new file with mode: 0644]