Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map $ g$ gets lexer error #45

Open
errael opened this issue Aug 30, 2024 · 0 comments
Open

map $ g$ gets lexer error #45

errael opened this issue Aug 30, 2024 · 0 comments

Comments

@errael
Copy link

errael commented Aug 30, 2024

vim9script
map $ g$
thread 'main' panicked at 'not yet implemented: Ok(1,4): ' '', crates/vim9-lexer/src/lib.rs:982:23
stack backtrace:
   0: rust_begin_unwind
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/std/src/panicking.rs:593:5
   1: core::panicking::panic_fmt
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/panicking.rs:67:14
   2: vim9_lexer::Lexer::handle_dollar
             at /src/tools/vim9jit/crates/vim9-lexer/src/lib.rs:982:23
   3: vim9_lexer::Lexer::next_token
             at /src/tools/vim9jit/crates/vim9-lexer/src/lib.rs:772:28
   4: vim9_parser::Parser::fill_buffer
             at /src/tools/vim9jit/crates/vim9-parser/src/lib.rs:2421:29
   5: vim9_parser::Parser::pop
             at /src/tools/vim9jit/crates/vim9-parser/src/lib.rs:1971:13
   6: vim9_parser::Parser::expect_eol
             at /src/tools/vim9jit/crates/vim9-parser/src/lib.rs:2270:16
   7: vim9_parser::Vim9ScriptCommand::parse
             at /src/tools/vim9jit/crates/vim9-parser/src/lib.rs:189:18
   8: vim9_parser::Parser::parse_command
             at /src/tools/vim9jit/crates/vim9-parser/src/lib.rs:2488:43
   9: vim9_parser::Parser::parse_program
             at /src/tools/vim9jit/crates/vim9-parser/src/lib.rs:2589:33
  10: vim9_gen::generate
             at /src/tools/vim9jit/crates/vim9-gen/src/lib.rs:1759:19
  11: vim9jit::main
             at /src/tools/vim9jit/src/main.rs:107:31
  12: core::ops::function::FnOnce::call_once
             at /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/ops/function.rs:250:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant