Pascal icon indicating copy to clipboard operation
Pascal copied to clipboard

check multiple declaration

Open Gnnng opened this issue 9 years ago • 0 comments

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

Gnnng avatar Jul 01 '15 09:07 Gnnng