Saturday 7 September 2013

Syntax and Semantic Errors

Syntax and semantic errors typically occur in the source program. They identify actual programming errors. When one of these errors is encountered, the compiler attempts to recover from the error and continue processing the source file. As more errors are encountered, the compiler outputs additional error messages. However, no object file is produced.

Syntax and semantic errors produce a message in the list file. These error messages are in the following format:



*** ERROR number IN LINE line OF file: error message

where:

number    is the error number.

line    corresponds to the line number in the source file or include file.

file    is the name of the source or include file in which the error was detected.

error message    is descriptive text and is dependent on the type of error encountered.

The following table lists syntax and semantic errors by error number. The error message displayed is listed along with a brief description and possible cause and correction

You can check here.

<a>href="http://embedded-with.hpage.co.in/syntax-and-semantic-errors_4559875.html" target="_blank" >Embedded With</a>

No comments:

Post a Comment