User:Ed Davis: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 110: Line 110:
* the column number where the token starts, followed by:
* the column number where the token starts, followed by:
* the token name.
* the token name.
* If the token name is one of Integer, Ident or String, the
* If the token name is one of Integer, Ident or String, the actual value of the same should follow.
actual value of the same should follow.


;Test Cases
;Test Cases
Line 179: Line 178:
The following error conditions should be caught:
The following error conditions should be caught:


* Empty character constant. Example: ''
* Empty character constant. Example: ''
* Unknown escape sequence. Example: '\r'
* Unknown escape sequence. Example: '\r'
* Multi-character constant. Example: 'xx'
* Multi-character constant. Example: 'xx'
Line 192: Line 191:


;Implementations
;Implementations

__TOC__


=={{header|C}}==
=={{header|C}}==