我收到了其中一个错误.
Error: unexpected symbol in "<my code>"
Error: unexpected input in "<my code>"
Error: unexpected string constant in "<my code>"
Error: unexpected numeric constant in "<my code>"
Error: unexpected SPECIAL in "<my code>"
Error: unexpected '<some punctuation>' in "<my code>"
Error: unexpected '<reserved word>' in "<my code>"
Run Code Online (Sandbox Code Playgroud)
错误意味着什么,我该如何解决?
一些重现错误的简单示例和常见变体:
a a
## Error: unexpected symbol in "a a"
a\
## Error: unexpected input in "a\"
a""
## Error: unexpected string constant in "a"""
""1
## Error: unexpected numeric constant in …Run Code Online (Sandbox Code Playgroud)