Added return statements t#04
This commit is contained in:
9
tests/test_comments.alpha
Normal file
9
tests/test_comments.alpha
Normal file
@ -0,0 +1,9 @@
|
||||
(* hello *)
|
||||
(* hello *)
|
||||
(* I'd think this is a legal "string" that contains several \n \t
|
||||
escaped characters, isn't it? *)
|
||||
(* \ *)
|
||||
(* *)
|
||||
(*{COMMENT}+ *)
|
||||
(* * *)
|
||||
(* (hello) *)
|
@ -1,50 +0,0 @@
|
||||
|
||||
'''
|
||||
'\'
|
||||
false
|
||||
'''
|
||||
nullfalse
|
||||
"nulltrue
|
||||
null
|
||||
'7'
|
||||
true
|
||||
'189
|
||||
'\t'
|
||||
'"'
|
||||
'/'
|
||||
'\n'
|
||||
'\''
|
||||
'\t'
|
||||
'\\'
|
||||
'n'
|
||||
'\'
|
||||
'fdsf'
|
||||
'
|
||||
'
|
||||
' '
|
||||
'''
|
||||
"STRINGwithnotSPaces"
|
||||
' '
|
||||
'\ '
|
||||
|
||||
"J"
|
||||
""
|
||||
" "
|
||||
\"\"
|
||||
"this is a string" 721398 'g' '/n'
|
||||
12893 "this is not a string
|
||||
"{SCHAR}"
|
||||
"SCHAR"
|
||||
"[SCHAR]"
|
||||
"I'd think this is a legal \"string\" that contains \n \t several escaped characters, isn't it?"
|
||||
"I'd think this is a legal \"string\" that contains several \\n \\t escaped characters, isn't it?"
|
||||
|
||||
(* hello *)
|
||||
(* hello *)
|
||||
(* I'd think this is a legal "string" that contains several \n \t
|
||||
escaped characters, isn't it? *)
|
||||
(* \ *)
|
||||
(* *)
|
||||
(*{COMMENT}+ *)
|
||||
(* * *)
|
||||
(* (hello) *)
|
@ -1,30 +0,0 @@
|
||||
while
|
||||
While
|
||||
whiLe
|
||||
if
|
||||
IF
|
||||
If
|
||||
iF
|
||||
then
|
||||
Then
|
||||
theN
|
||||
else
|
||||
eLse
|
||||
elSe
|
||||
Else
|
||||
type
|
||||
Type
|
||||
tyPe
|
||||
function
|
||||
Function
|
||||
functioN
|
||||
return
|
||||
Return
|
||||
returN
|
||||
external
|
||||
External
|
||||
exteRnal
|
||||
as
|
||||
As
|
||||
aS
|
||||
functionaly
|
@ -1,10 +0,0 @@
|
||||
integer
|
||||
Integer
|
||||
address
|
||||
Address
|
||||
Boolean
|
||||
boolean
|
||||
character
|
||||
Character
|
||||
string
|
||||
String
|
Reference in New Issue
Block a user