Introduce a typedef keyword.

This commit is contained in:
David Anderson
2014-08-03 21:51:34 -07:00
parent 09edda93ad
commit ad376ff0b8
20 changed files with 172 additions and 47 deletions
+2 -1
View File
@@ -357,7 +357,7 @@ typedef struct {
/* Tokens recognized by lex()
* Some of these constants are assigned as well to the variable "lastst" (see SC1.C)
*/
enum {
enum TokenKind {
/* value of first multi-character operator */
tFIRST = 256,
/* multi-character operators */
@@ -431,6 +431,7 @@ enum {
tSWITCH,
tTAGOF,
tTHEN,
tTYPEDEF,
tVOID,
tWHILE,
/* compiler directives */