Article 6GFQ4 Handling space in lexer.

Handling space in lexer.

by
ajiten
from LinuxQuestions.org on (#6GFQ4)
It has been stated on page #25, in the book on Compiler design in C, by Allen Holub; that need to seperate symbols (NT, T) on the rhs with blanks.
Else, if the blank spaces were to be included, then need to have the requisite number of blank spaces as say, " " for single blank space.

Want to know how the code for the same is to be implemented in C code, or is handled in lex.

In the code provided by @NevemTeve here, in the integrated lexer, could not find the appropriate code for seperating based on space.
Attached Thumbnailsattachment.php?attachmentid=42081&stc=1&
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments