Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
计老师,您好! 我是07111306班的应天成1120131867
我发现了一些框架词法分析器的问题。
原本的词法分析器无法识别常量字符串,左移右移等单词,因此我用状态机的方法改进了该词法分析器,我用了更多的状态来让词法分析器能识别出更多的单词。
对于 “kkk”,框架识别为 “ 和 kkkk“ , 而我的程序可以正常识别成”kkk“。
还有对于浮点数的识别,和对于例如 1L 这种长整形数字的识别,我都进行了相关的改进。
但由于我不知道如何将自己的代码内嵌到您的框架中,所以就单独实现了您规定的借口,但并不能融入您的框架中。
祝好