Question: Lab 2 . 1 . In this lab, you are to make some simple changes to the LEX program provided HEREDownload HERE You need to
Lab In this lab, you are to make some simple changes to the LEX program provided HEREDownload HERE
You need to test your code with the input from HEREDownload HERE
GOAL: Reinforce LEX usage and the use of user defined variables.
Your task is to download the file, and add a new variable to count the lines of the input. Whereever there is an error message in the LEX program, you are to enhance the error message to include the line number.
You will need to to do web searching or search your friend on how to identify a new line and increment your line counte
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
