oceanhuang / CoZy

Language for PLT
1 stars 1 forks source link

Test 31 Fails #53

Open g-ortuno opened 10 years ago

g-ortuno commented 10 years ago

Test 31

day = Monday to Sunday
month = January to December
date = 1/1/1 to 31/12/9999
dateTime = 1/1/1 12:00 AM to 31/12/9999 11:59 PM
time = 12:00 AM to 11:59 PM
print(day)
print(month)
print(dateTime)
print(time)

Fails with error:

Syntax error in input! at line: 1

I noticed you have 'day' as a keyword which is probably what's causing the error. Maybe capitalize the first letter of type keywords?

hpkeiler commented 10 years ago

k will do in like 45

On Sun, May 11, 2014 at 7:00 PM, Giovanni Ortuno notifications@github.comwrote:

Test 31

day = Monday to Sunday month = January to December date = 1/1/1 to 31/12/9999 dateTime = 1/1/1 12:00 AM to 31/12/9999 11:59 PM time = 12:00 AM to 11:59 PM print(day) print(month) print(dateTime) print(time)

Fails with error:

Syntax error in input! at line: 1

I noticed you have 'day' as a keyword which is probably what's causing the error. Maybe capitalize the first letter of type keywords?

— Reply to this email directly or view it on GitHubhttps://github.com/oceanhuang/CoZy/issues/53 .