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
Boxiang Sun
cython
Commits
71295b90
Commit
71295b90
authored
Mar 14, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cythonisation and cleanup in Scanners.pxd
parent
5ea2561a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Cython/Plex/Scanners.pxd
Cython/Plex/Scanners.pxd
+6
-6
No files found.
Cython/Plex/Scanners.pxd
View file @
71295b90
...
...
@@ -26,15 +26,15 @@ cdef class Scanner:
@
cython
.
locals
(
input_state
=
long
)
cpdef
next_char
(
self
)
cpdef
read
(
self
)
@
cython
.
locals
(
queue
=
list
)
cpdef
tuple
read
(
self
)
cpdef
tuple
scan_a_token
(
self
)
cpdef
tuple
position
(
self
)
@
cython
.
locals
(
cur_pos
=
cython
.
long
,
cur_line
=
cython
.
long
,
cur_line_start
=
cython
.
long
,
input_state
=
cython
.
long
,
next_pos
=
cython
.
long
,
buf_start_pos
=
cython
.
long
,
buf_len
=
cython
.
long
,
buf_index
=
cython
.
long
,
trace
=
cython
.
bint
,
discard
=
cython
.
long
)
@
cython
.
locals
(
cur_pos
=
long
,
cur_line
=
long
,
cur_line_start
=
long
,
input_state
=
long
,
next_pos
=
long
,
buf_start_pos
=
long
,
buf_len
=
long
,
buf_index
=
long
,
trace
=
bint
,
discard
=
long
)
cpdef
run_machine_inlined
(
self
)
cpdef
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