diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-09-16 16:58:30 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-09-24 13:14:59 +0800 |
commit | e651a16f85e9df51ed65d96ea32932f69cbf302d (patch) | |
tree | 6d50658e630a0e5afb8b38507faf333af15440df /discover/grub2/lexer.l | |
parent | 4bf4d14afbc46d6bbf11839b1f8fdc9bf66dd16d (diff) | |
download | talos-petitboot-e651a16f85e9df51ed65d96ea32932f69cbf302d.tar.gz talos-petitboot-e651a16f85e9df51ed65d96ea32932f69cbf302d.zip |
discover/grub2: Implement 'else' blocks
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/grub2/lexer.l')
-rw-r--r-- | discover/grub2/lexer.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/grub2/lexer.l b/discover/grub2/lexer.l index 5a4447b..3e1f9fa 100644 --- a/discover/grub2/lexer.l +++ b/discover/grub2/lexer.l @@ -37,6 +37,7 @@ VARNAME ([[:alpha:]][_[:alnum:]]*|[0-9]|[\?@\*#]) "do" return TOKEN_DO; "done" return TOKEN_DONE; "elif" return TOKEN_ELIF; +"else" return TOKEN_ELSE; "esac" return TOKEN_ESAC; "fi" return TOKEN_FI; "for" return TOKEN_FOR; |