Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
727e57d9
Commit
727e57d9
authored
Oct 10, 2014
by
scoder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #327 from nbarbey/master
Allow to use Plex as an external parsing library with unicode support
parents
f9357d3c
21ce6b27
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Cython/Plex/Machines.py
Cython/Plex/Machines.py
+1
-1
Cython/Plex/Scanners.pxd
Cython/Plex/Scanners.pxd
+1
-1
No files found.
Cython/Plex/Machines.py
View file @
727e57d9
...
@@ -178,7 +178,7 @@ class FastMachine(object):
...
@@ -178,7 +178,7 @@ class FastMachine(object):
state
[
'else'
]
=
new_state
state
[
'else'
]
=
new_state
elif
code1
!=
maxint
:
elif
code1
!=
maxint
:
while
code0
<
code1
:
while
code0
<
code1
:
state
[
chr
(
code0
)]
=
new_state
state
[
uni
chr
(
code0
)]
=
new_state
code0
=
code0
+
1
code0
=
code0
+
1
else
:
else
:
state
[
event
]
=
new_state
state
[
event
]
=
new_state
...
...
Cython/Plex/Scanners.pxd
View file @
727e57d9
...
@@ -31,7 +31,7 @@ cdef class Scanner:
...
@@ -31,7 +31,7 @@ cdef class Scanner:
@
cython
.
locals
(
input_state
=
long
)
@
cython
.
locals
(
input_state
=
long
)
cdef
next_char
(
self
)
cdef
next_char
(
self
)
@
cython
.
locals
(
action
=
Action
)
@
cython
.
locals
(
action
=
Action
)
cdef
tuple
read
(
self
)
c
p
def
tuple
read
(
self
)
cdef
tuple
scan_a_token
(
self
)
cdef
tuple
scan_a_token
(
self
)
cdef
tuple
position
(
self
)
cdef
tuple
position
(
self
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment