File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 == ' :' ) {
Original file line number Diff line number Diff line change 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
1919namespace lexer {
2020
2121enum {
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
You can’t perform that action at this time.
0 commit comments