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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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