Skip to content

Commit

Permalink
cleanup and new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekopalypse committed Jun 29, 2022
1 parent 284f30d commit 269ea76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions ilexer.v
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions vlang_lexer.rc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <windows.h>

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
Expand All @@ -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"
Expand Down

0 comments on commit 269ea76

Please sign in to comment.