1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: check (mut f Foo) syntax

This commit is contained in:
yuyi
2020-05-17 19:51:18 +08:00
committed by GitHub
parent b138cadbcb
commit 7f4cf08516
87 changed files with 492 additions and 480 deletions

View File

@ -23,8 +23,8 @@ pub fn tos(s byteptr) string {
return string{
str: s
len: len
}
}
}
}
// string.clone_static returns an independent copy of a given array
// It should be used only in -autofree generated code.
@ -209,14 +209,14 @@ pub fn (s string) trim_right(cutset string) string {
// fn print_cur_thread() {
// //C.printf("tid = %08x \n", pthread_self());
// }
pub fn (s mut []string) sort() {
pub fn (mut s []string) sort() {
}
pub fn (s mut []string) sort_ignore_case() {
pub fn (mut s []string) sort_ignore_case() {
}
pub fn (s mut []string) sort_by_len() {
pub fn (mut s []string) sort_by_len() {
}
fn (s string) at(idx int) byte {