discover/grub2: Implement 'else' blocks
[petitboot] / discover / grub2 / lexer.l
index 5a4447b500452694efff642649c19b888b4e84f2..3e1f9fa148c62174acb30258328c578c231f954e 100644 (file)
@@ -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;