9

Help with Task 281 -- Basic Tokenizer Input

 1 year ago
source link: https://www.codeabbey.com/index/forum_topic/9e0858d7bb204a4a44a4d7dc7ef39508
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Help with Task 281 -- Basic Tokenizer Input

Back to General discussions forum

itsnotzode     2023-03-20 00:06:46
User avatar

Hello. I'm trying to solve task 281. However, whenever I reload the page and I get a new input text there is always this line in particular:

A$ = "Magic Word Xyzzy

Since this line does not have the closing quotation marks, my program hangs when reaching it. I wanted to ask if this is intentional or not, since the problem description reads:

"quotes" (q) - string literal, starting **and** ending with double quotes, (...) 

Which implies that quotes tokens always begin and end with "

I believe if I just added this double quote to the line before feeding it to my program would make it work, but I just wanted to make sure this is a problem with my code and not the generated input itself before doing anything.

Thanks!

Please login and solve 5 problems to be able to post at forum

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK