Skip to content

Commit f5eb50b

Browse files
authored
fix: convDate should be the right side of an assignment (#22)
**Description** This PR modifies the grammar to have convDate as the RHS of an assignment
1 parent 95b2f6e commit f5eb50b

File tree

5 files changed

+1016
-1153
lines changed

5 files changed

+1016
-1153
lines changed

examples/convDate.lm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ main(){
33
a, b, c : int
44
}
55

6-
convDate(11-11-1900)
6+
a := convDate(11-11-1900)
77
}

inputs/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ read(f6f)
5656
#+ x := 1001247380987123904721309473201974012938740921374091237409127340983217094874.1234 +#
5757

5858

59-
convDate(01-02-1900)
59+
a1 := convDate(01-02-1900)

0 commit comments

Comments
 (0)