added comment functionality for lexer, expanded tests, and updated to identify empty strings
This commit is contained in:
@ -1,9 +1,15 @@
|
||||
"this is a string" 721398 'g' '/n'
|
||||
12893 "this is not a string
|
||||
"this is a string" 721398 'g' '/n' (* should print 3 tokens before this *)
|
||||
'
|
||||
'
|
||||
12893 "this is not a string (*one valid token before this*)
|
||||
(* spacey comment here
|
||||
over multiple lines
|
||||
will it work? *)
|
||||
"
|
||||
'''
|
||||
'\'
|
||||
false
|
||||
(**)
|
||||
'''
|
||||
nullfalse
|
||||
"nulltrue
|
||||
@ -21,6 +27,7 @@ true
|
||||
'n'
|
||||
'\'
|
||||
'fdsf'
|
||||
(*/jnewjno2893u86^ Lots of random characters /n /t '") *)
|
||||
'
|
||||
'
|
||||
' '
|
||||
|
Reference in New Issue
Block a user