提交 3038cf36 编写于 作者: A Andrew Scheidecker 提交者: Matt Witherspoon

Remove "infinity" case when parsing float infinity literals: only "inf" is supported now

上级 3fbdd406
......@@ -75,7 +75,7 @@ namespace WAST
{t_hexFloat,"[+\\-]?0[xX][\\da-fA-F]+[pP][+\\-]?\\d+"},
{t_floatNaN,"[+\\-]?nan(:0[xX][\\da-fA-F]+)?"},
{t_floatInf,"[+\\-]?inf(inity)?"},
{t_floatInf,"[+\\-]?inf"},
{t_string,"\"([^\"\n\\\\]*(\\\\([^0-9a-fA-Fu]|[0-9a-fA-F][0-9a-fA-F]|u\\{[0-9a-fA-F]+})))*\""},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册