mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
bump version to 0.5.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sre-engine"
|
||||
version = "0.4.3"
|
||||
version = "0.5.0"
|
||||
authors = ["Kangzhi Shi <shikangzhi@gmail.com>", "RustPython Team"]
|
||||
description = "A low-level implementation of Python's SRE regex engine"
|
||||
repository = "https://github.com/RustPython/sre-engine"
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// good luck to those that follow; here be dragons
|
||||
|
||||
use crate::constants::SreInfo;
|
||||
|
||||
use super::constants::{SreAtCode, SreCatCode, SreOpcode};
|
||||
use super::constants::{SreAtCode, SreCatCode, SreOpcode, SreInfo};
|
||||
use super::MAXREPEAT;
|
||||
use optional::Optioned;
|
||||
use std::convert::TryFrom;
|
||||
@@ -284,7 +282,7 @@ fn _match<S: StrDrive>(req: &Request<S>, state: &mut State, ctx: MatchContext) -
|
||||
};
|
||||
|
||||
popped_result = 'result: loop {
|
||||
let yield_ = 'context: loop {
|
||||
let yielded = 'context: loop {
|
||||
match ctx.jump {
|
||||
Jump::OpCode => {}
|
||||
Jump::Assert1 => {
|
||||
@@ -864,7 +862,7 @@ fn _match<S: StrDrive>(req: &Request<S>, state: &mut State, ctx: MatchContext) -
|
||||
}
|
||||
};
|
||||
context_stack.push(ctx);
|
||||
context_stack.push(yield_);
|
||||
context_stack.push(yielded);
|
||||
continue 'coro;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user