Skip to content

check multiple declaration #6

Description

@Gnnng
program llvm;
var a, b, c: integer; a, b, c: integer;
...

Codes like this will pass the check, a,b,c should not be allowed to declared again.
Need to reimplement the function getValue of CodeGenBlock, and check if a symbol has not been declared

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions