Errors seen in a compiler

Write down the different errors seen in a compiler? Describe.

E

Expert

Verified

The different errors seen in a compiler are as shown below:

a) Syntax errors such as invalid characters, misspelled identifiers and so on.

b) Syntactic errors due to the scope definition and type mismatch.

c) Operands with incompatible kinds make intermediate code errors.

d) Code optimization errors such as never used statements.

e) Code generation errors such as a constant too big to fit in a word of target machine.

f) Symbol table errors such as multiple declarations of an identifier with conflicting attributes.

   Related Questions in Computer Engineering

©TutorsGlobe All rights reserved 2022-2023.