diff --git a/README.md b/README.md index 908ae9a..dae8294 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ v.exe -cc gcc -d static_boehm -gc boehm -enable-globals -shared -d no_backtrace ## Release History - +* 0.3 + * make nested comment blocks possible * 0.2 * updated to version V 0.2.4 cb60392 * 0.1 diff --git a/ilexer.v b/ilexer.v index b3ebcd0..5619b81 100644 --- a/ilexer.v +++ b/ilexer.v @@ -134,7 +134,6 @@ mut: current_word string is_keyword_or_number bool is_raw_string bool - // read_only_buffer string } fn (mut l Lexer) init(pos usize, length isize, buffer_ptr &char, doc_length isize) { @@ -153,7 +152,6 @@ fn (mut l Lexer) init(pos usize, length isize, buffer_ptr &char, doc_length isiz // l.nested_comment_block = 0 // l.string_starts_with = ` ` // l.is_raw_string - // l.read_only_buffer = unsafe { buffer_ptr.vstring_literal_with_len(doc_length) } } // lexer helper functions @@ -337,7 +335,7 @@ fn lex(self &ILexer, start_pos usize, length_doc isize, init_style int, p_access lexer.nested_comment_block-- } } - } + } } 5 { // go back and find out which char started the string diff --git a/vlang_lexer.rc b/vlang_lexer.rc index 2a4fa57..347ab09 100644 --- a/vlang_lexer.rc +++ b/vlang_lexer.rc @@ -1,8 +1,8 @@ #include VS_VERSION_INFO VERSIONINFO -FILEVERSION 0, 2, 0, 0 -PRODUCTVERSION 0, 2, 0, 0 +FILEVERSION 0, 3, 0, 0 +PRODUCTVERSION 0, 3, 0, 0 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG | VS_FF_PRERELEASE @@ -19,12 +19,12 @@ BEGIN BEGIN VALUE "CompanyName", "Ekopalypse" VALUE "FileDescription", "V language lexer plugin for Notepad++" - VALUE "FileVersion", "0.2.0.0" + VALUE "FileVersion", "0.3.0.0" VALUE "InternalName", "VLang" VALUE "LegalCopyright", "Copyright (C) 2022 Ekopalypse" VALUE "OriginalFilename", "VLang.dll" VALUE "ProductName", "VLang" - VALUE "ProductVersion", "0.2.0.0" + VALUE "ProductVersion", "0.3.0.0" END END BLOCK "VarFileInfo"