Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
f64086f8
Commit
f64086f8
authored
Jan 22, 2014
by
Damien George
Browse files
Fix 1 warning and 1 bug.
parent
452932ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
py/lexer.c
View file @
f64086f8
...
...
@@ -471,7 +471,7 @@ static void mp_lexer_next_token_into(mp_lexer_t *lex, mp_token_t *tok, bool firs
case
'r'
:
c
=
0x0d
;
break
;
case
'x'
:
{
uint
num
;
uint
num
=
0
;
if
(
!
get_hex
(
lex
,
2
,
&
num
))
{
// TODO error message
assert
(
0
);
...
...
py/vstr.c
View file @
f64086f8
...
...
@@ -190,6 +190,7 @@ void vstr_cut_tail(vstr_t *vstr, int len) {
}
else
{
vstr
->
len
-=
len
;
}
vstr
->
buf
[
vstr
->
len
]
=
0
;
}
void
vstr_printf
(
vstr_t
*
vstr
,
const
char
*
fmt
,
...)
{
...
...
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