diff --git a/libraries/wasm-jit/Source/WAST/Lexer.cpp b/libraries/wasm-jit/Source/WAST/Lexer.cpp index fbf42b9ce5b543ddc86fda91e096c51f392ad196..2d993034ad7c05cbdb0d016f298adb477357cabc 100644 --- a/libraries/wasm-jit/Source/WAST/Lexer.cpp +++ b/libraries/wasm-jit/Source/WAST/Lexer.cpp @@ -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]+})))*\""},