-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
When a program contains an uninitialized declaration of a global variable. The parser should reject it, as per the specification. However the parser accepts and prints the AST, without raising an error.
Example:
var
Output:
{
"Chunk": {
"body": {
"Block": {
"body": [
{
"Name": {
"id": "var",
"start_char": 0,
"stop_char": 2,
"line": 1
}
}
],
"start_char": 0,
"stop_char": 2,
"line": 1
}
},
"start_char": 0,
"stop_char": 2,
"line": 1
}
}
Metadata
Metadata
Assignees
Labels
No labels