Skip to content

Commit 4a70207

Browse files
authored
Merge pull request #2158 from Shaikh-Ubaid/minor_improvements
Minor improvements
2 parents 6be4353 + 84adb4b commit 4a70207

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
./build0.sh
4+
./build1.sh

examples/expr2.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
from lpython import i32
2+
13
def main0():
24
x: i32
35
x = (2+3)*5
46
print(x)
57

6-
main0()
7-
8-
# Not implemented yet in LPython:
9-
#if __name__ == "__main__":
10-
# main()
8+
if __name__ == "__main__":
9+
main0()

0 commit comments

Comments
 (0)