Skip to content

Commit

Permalink
Removed semicolon after 'else' in 'munge_name'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Barnett committed May 3, 2023
1 parent 797b57a commit 9f03255
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
@@ -1,3 +1,7 @@
Version: 2023.5.5

Removed semicolon after 'else' in 'munge_name'.

Version: 2023.5.4

Fixed pyproject.toml and setup.py.
Expand Down
4 changes: 2 additions & 2 deletions regex_3/_regex.c
Expand Up @@ -23179,7 +23179,7 @@ Py_LOCAL_INLINE(RE_STATUS_T) add_repeat_guards(PatternObject* pattern, RE_Node*

repeat_info = &pattern->repeat_info[node->values[0]];
/* Removing guard here to fix issue 494 and prevent
* regression of issue 495.
* regression of issue 495.
*/
/* repeat_info->status |= RE_STATUS_BODY; */

Expand Down Expand Up @@ -26218,7 +26218,7 @@ void munge_name(char* name, char* munged) {
while (*name) {
if (*name == ' ' || *name == '_' || *name == '-')
++name;
else;
else
*munged++ = toupper(*name++);
}

Expand Down
2 changes: 1 addition & 1 deletion regex_3/regex.py
Expand Up @@ -241,7 +241,7 @@
"VERSION1", "X", "VERBOSE", "W", "WORD", "error", "Regex", "__version__",
"__doc__", "RegexFlag"]

__version__ = "2.5.127"
__version__ = "2.5.128"

# --------------------------------------------------------------------
# Public interface.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -7,7 +7,7 @@

setup(
name='regex',
version='2023.5.4',
version='2023.5.5',
description='Alternative regular expression module, to replace re.',
long_description=long_description,
long_description_content_type='text/x-rst',
Expand Down

0 comments on commit 9f03255

Please sign in to comment.