Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
d276f635
Commit
d276f635
authored
11 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
Get unix version compling.
parent
f086ecf5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
unix/lexerunix.c
+1
-1
1 addition, 1 deletion
unix/lexerunix.c
unix/mpyconfig.h
+2
-0
2 additions, 0 deletions
unix/mpyconfig.h
with
3 additions
and
1 deletion
unix/lexerunix.c
+
1
−
1
View file @
d276f635
...
@@ -36,7 +36,7 @@ py_lexer_t *py_lexer_new_from_str_len(const char *src_name, const char *str, uin
...
@@ -36,7 +36,7 @@ py_lexer_t *py_lexer_new_from_str_len(const char *src_name, const char *str, uin
sb
->
src_beg
=
str
;
sb
->
src_beg
=
str
;
sb
->
src_cur
=
str
;
sb
->
src_cur
=
str
;
sb
->
src_end
=
str
+
len
;
sb
->
src_end
=
str
+
len
;
return
py_lexer_new
(
src_name
,
sb
,
(
py_lexer_stream_next_char_t
)
str_buf_next_char
,
(
py_lexer_stream_
fre
e_t
)
str_buf_free
);
return
py_lexer_new
(
src_name
,
sb
,
(
py_lexer_stream_next_char_t
)
str_buf_next_char
,
(
py_lexer_stream_
clos
e_t
)
str_buf_free
);
}
}
py_lexer_t
*
py_lexer_new_from_file
(
const
char
*
filename
)
{
py_lexer_t
*
py_lexer_new_from_file
(
const
char
*
filename
)
{
...
...
This diff is collapsed.
Click to expand it.
unix/mpyconfig.h
+
2
−
0
View file @
d276f635
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
// type definitions for the specific machine
// type definitions for the specific machine
#define BYTES_PER_WORD (8)
typedef
int64_t
machine_int_t
;
// must be pointer size
typedef
int64_t
machine_int_t
;
// must be pointer size
typedef
uint64_t
machine_uint_t
;
// must be pointer size
typedef
uint64_t
machine_uint_t
;
// must be pointer size
typedef
void
*
machine_ptr_t
;
// must be of pointer size
typedef
void
*
machine_ptr_t
;
// must be of pointer size
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment