Closed jhaimecando27 closed 5 months ago
Describe the bug Lexical Analyzer doesn't accept valid delimiter
Code
seed garden()( string #hello = "Hello"; string #world = "World"; mint("{#hello}, {#world}"); ) plant
Expected behavior String should accept semicolon
Output Pane Result
LexicalAnalyser: UNKNOWN DELIMITER : line 24:3:""Hello";": Invalid Delimeter ";". Expecting Delimeter after ""Hello"": Available (['<', '>', '=', '!'], ['\n', ' ', '+', '-', '*', '/', '%', ';', ')', ']', '}', ',', ':']) LexicalAnalyser: UNKNOWN DELIMITER : line 24:4:""World";": Invalid Delimeter ";". Expecting Delimeter after ""World"": Available (['<', '>', '=', '!'], ['\n', ' ', '+', '-', '*', '/', '%', ';', ')', ']', '}', ',', ':']) LexicalAnalyser: UNKNOWN DELIMITER : line 26:6:""{#hello}, {#world}")": Invalid Delimeter ")". Expecting Delimeter after ""{#hello}, {#world}"": Available (['<', '>', '=', '!'], ['\n', ' ', '+', '-', '*', '/', '%', ';', ')', ']', '}', ',', ':']) LexicalAnalyser: Error Found.
Screenshot
not a problem, nag ka prob lng nung ni reformat yung redef.py sa temp branch. but walang problem sa master branch
Describe the bug Lexical Analyzer doesn't accept valid delimiter
Code
Expected behavior String should accept semicolon
Output Pane Result
Screenshot