You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the location of the last parse error, if available. Location tracking
142
+
is best-effort and may be unavailable.
143
+
144
+
### `lexer::error_location`
145
+
146
+
```cpp
147
+
structerror_location {
148
+
uint32_t line; // 1-based
149
+
uint32_t column; // 1-based (byte-oriented)
150
+
};
151
+
```
152
+
135
153
## C API
136
154
137
155
merve provides a C API (`merve_c.h`) for use from C programs, FFI bindings, or any language that can call C functions. The C API is compiled into the merve library alongside the C++ implementation.
@@ -141,11 +159,13 @@ merve provides a C API (`merve_c.h`) for use from C programs, FFI bindings, or a
0 commit comments