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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
ab0d16b3
Commit
ab0d16b3
authored
Sep 22, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix scanner index types on systems where size_t > long, namely Win64.
parent
7640dbb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Plex/Scanners.pxd
Cython/Plex/Scanners.pxd
+4
-4
No files found.
Cython/Plex/Scanners.pxd
View file @
ab0d16b3
...
...
@@ -35,10 +35,10 @@ cdef class Scanner:
cdef
tuple
scan_a_token
(
self
)
cdef
tuple
position
(
self
)
@
cython
.
locals
(
cur_pos
=
long
,
cur_line
=
long
,
cur_line_start
=
long
,
input_state
=
long
,
next_pos
=
long
,
state
=
dict
,
buf_start_pos
=
long
,
buf_len
=
long
,
buf_index
=
long
,
trace
=
bint
,
discard
=
long
,
data
=
unicode
,
buffer
=
unicode
)
@
cython
.
locals
(
cur_pos
=
Py_ssize_t
,
cur_line
=
Py_ssize_t
,
cur_line_start
=
Py_ssize_t
,
input_state
=
long
,
next_pos
=
Py_ssize_t
,
state
=
dict
,
buf_start_pos
=
Py_ssize_t
,
buf_len
=
Py_ssize_t
,
buf_index
=
Py_ssize_t
,
trace
=
bint
,
discard
=
Py_ssize_t
,
data
=
unicode
,
buffer
=
unicode
)
cdef
run_machine_inlined
(
self
)
cdef
begin
(
self
,
state
)
...
...
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