Skip to content

Commit 61d923b

Browse files
chore: update rust/deps vendored sources [skip ci]
1 parent 62d9809 commit 61d923b

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

rust/deps/merve.cpp

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -812,20 +812,14 @@ class CJSLexer {
812812
const char* endPos = pos;
813813
ch = commentWhitespace();
814814

815-
// Check if this is a getter syntax: get identifier()
816-
if (ch != ':' && endPos - startPos == 3 && matchesAt(startPos, end, "get")) {
817-
// Skip getter: get identifier() { ... }
818-
if (identifier(ch)) {
819-
ch = commentWhitespace();
820-
if (ch == '(') {
821-
// This is a getter, stop parsing here (early termination)
822-
pos = revertPos;
823-
return;
824-
}
815+
// Check if this is a getter syntax: get identifier() { ... }
816+
if (ch != ':' && endPos - startPos == 3 && matchesAt(startPos, end, "get") && identifier(ch)) {
817+
ch = commentWhitespace();
818+
if (ch == '(') {
819+
// This is a getter, stop parsing here (early termination)
820+
pos = revertPos;
821+
return;
825822
}
826-
// Not a getter, revert and fail
827-
pos = revertPos;
828-
return;
829823
}
830824

831825
if (ch == ':') {

rust/deps/merve.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#ifndef MERVE_VERSION_H
1515
#define MERVE_VERSION_H
1616

17-
#define MERVE_VERSION "1.1.3" // x-release-please-version
17+
#define MERVE_VERSION "1.2.0" // x-release-please-version
1818

1919
namespace lexer {
2020

2121
enum {
2222
MERVE_VERSION_MAJOR = 1, // x-release-please-major
23-
MERVE_VERSION_MINOR = 1, // x-release-please-minor
24-
MERVE_VERSION_REVISION = 3, // x-release-please-patch
23+
MERVE_VERSION_MINOR = 2, // x-release-please-minor
24+
MERVE_VERSION_REVISION = 0, // x-release-please-patch
2525
};
2626

2727
} // namespace lexer

0 commit comments

Comments
 (0)