| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2026-03-06 11:46:19 -0500. Do not edit! */ | ||
| 1 | + /* auto-generated on 2026-03-11 12:53:21 -0400. Do not edit! */ | ||
| 2 | 2 | #include "merve.h" | |
| 3 | 3 | ||
| 4 | 4 | /* begin file src/parser.cpp */ | |
@@ -1478,11 +1478,13 @@ class CJSLexer { | |||
| 1478 | 1478 | } | |
| 1479 | 1479 | ||
| 1480 | 1480 | void tryBacktrackAddStarExportBinding(const char* bPos) { | |
| 1481 | - while (*bPos == ' ' && bPos > source) | ||
| 1481 | + if (bPos < source) return; | ||
| 1482 | + while (bPos > source && *bPos == ' ') | ||
| 1482 | 1483 | bPos--; | |
| 1483 | 1484 | if (*bPos == '=') { | |
| 1485 | + if (bPos <= source) return; | ||
| 1484 | 1486 | bPos--; | |
| 1485 | - while (*bPos == ' ' && bPos > source) | ||
| 1487 | + while (bPos > source && *bPos == ' ') | ||
| 1486 | 1488 | bPos--; | |
| 1487 | 1489 | const char* id_end = bPos; | |
| 1488 | 1490 | bool identifierStart = false; | |
@@ -1497,7 +1499,7 @@ class CJSLexer { | |||
| 1497 | 1499 | if (starExportStack == STAR_EXPORT_STACK_END) | |
| 1498 | 1500 | return; | |
| 1499 | 1501 | starExportStack->id = std::string_view(bPos + 1, static_cast<size_t>(id_end - bPos)); | |
| 1500 | - while (*bPos == ' ' && bPos > source) | ||
| 1502 | + while (bPos > source && *bPos == ' ') | ||
| 1501 | 1503 | bPos--; | |
| 1502 | 1504 | switch (*bPos) { | |
| 1503 | 1505 | case 'r': | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /* auto-generated on 2026-03-06 11:46:19 -0500. Do not edit! */ | ||
| 1 | + /* auto-generated on 2026-03-11 12:53:21 -0400. Do not edit! */ | ||
| 2 | 2 | /* begin file include/merve.h */ | |
| 3 | 3 | #ifndef MERVE_H | |
| 4 | 4 | #define MERVE_H | |
@@ -15,14 +15,14 @@ | |||
| 15 | 15 | #ifndef MERVE_VERSION_H | |
| 16 | 16 | #define MERVE_VERSION_H | |
| 17 | 17 | ||
| 18 | - #define MERVE_VERSION "1.2.0" // x-release-please-version | ||
| 18 | + #define MERVE_VERSION "1.2.2" // x-release-please-version | ||
| 19 | 19 | ||
| 20 | 20 | namespace lexer { | |
| 21 | 21 | ||
| 22 | 22 | enum { | |
| 23 | 23 | MERVE_VERSION_MAJOR = 1, // x-release-please-major | |
| 24 | 24 | MERVE_VERSION_MINOR = 2, // x-release-please-minor | |
| 25 | - MERVE_VERSION_REVISION = 0, // x-release-please-patch | ||
| 25 | + MERVE_VERSION_REVISION = 2, // x-release-please-patch | ||
| 26 | 26 | }; | |
| 27 | 27 | ||
| 28 | 28 | } // namespace lexer | |
| Back | FazBrowse Home | New Git URL |
0 commit comments