Remove match_length lexer user code block for Rust
This commit is contained in:
1 parent
d596d47cef
commit
008ed49f66
4 files changed
+4
-7
No files matched your search
@@ -1124,7 +1124,7 @@ EOF
|
||||
write_grammar <<EOF
|
||||
ptype u64;
|
||||
token word /[a-z]+/ <<
|
||||
$$ = match_length as u64;
|
||||
$$ = match_text.len() as u64;
|
||||
>>
|
||||
Start -> word <<
|
||||
$$ = $1;
|
||||
|
||||
Reference in new issue
Block a user