From 4bcd89105cf294d65443cbc7bfe2aaffd571f6d3 Mon Sep 17 00:00:00 2001 From: Lazaridis Date: Mon, 1 Oct 2018 00:27:16 +0300 Subject: provide general hex-literal error message, fixes #1802 dummy --- libsolidity/parsing/Token.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsolidity/parsing/Token.h') diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h index 73c85482..8ecc850a 100644 --- a/libsolidity/parsing/Token.h +++ b/libsolidity/parsing/Token.h @@ -261,6 +261,8 @@ namespace solidity \ /* Illegal token - not able to scan. */ \ T(Illegal, "ILLEGAL", 0) \ + /* Illegal hex token */ \ + T(IllegalHex, "ILLEGAL_HEX", 0) \ \ /* Scanner-internal use only. */ \ T(Whitespace, NULL, 0) -- cgit v1.2.3