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

parser: do not allow calling private functions

This commit is contained in:
Alexander Medvednikov
2020-05-18 22:54:08 +02:00
parent 2a62f1a312
commit 03525843a0
9 changed files with 49 additions and 40 deletions

View File

@ -12,7 +12,7 @@ const (
max_u64 = u64(C.UINT64_MAX)// as u64 // use this until we add support
)
fn byte_to_lower(c byte) byte {
pub fn byte_to_lower(c byte) byte {
return c | (`x` - `X`)
}