From ec212e498b6c25ecb771c8aecc4f1814719a5fea Mon Sep 17 00:00:00 2001 From: Fabrice Le Fessant Date: Wed, 25 Aug 2021 09:42:58 +0200 Subject: [PATCH] fix line in cpp --- src/solidity-parser/solidity_lexer.mll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solidity-parser/solidity_lexer.mll b/src/solidity-parser/solidity_lexer.mll index d4d0d50..7b5f74c 100644 --- a/src/solidity-parser/solidity_lexer.mll +++ b/src/solidity-parser/solidity_lexer.mll @@ -104,7 +104,7 @@ rule token = parse | "#" [' ' '\t']* (['0'-'9']+ as num) [' ' '\t']* ("\"" ([^ '\010' '\013' '"' ] * as name) "\"")? [^ '\010' '\013'] * newline - { update_loc lexbuf name (int_of_string num - 1) true 0; + { update_loc lexbuf name (int_of_string num) true 0; token lexbuf } | "/*" { multiline_comment lexbuf ; token lexbuf }