ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/doom3map_parser.y
Revision: 1.3
Committed: Sat Nov 6 00:44:50 2004 UTC (19 years, 7 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
State: FILE REMOVED
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 %{
2     #include <stdio.h>
3     #include <stdlib.h>
4    
5     #define YYDEBUG 1
6    
7     extern int yylex(void);
8     static void yyerror (char const *msg)
9     {
10     extern int yylineno;
11    
12     printf ("%s (line %d)", msg, yylineno);
13     abort ();
14     }
15    
16     %}
17    
18 root 1.2 %token STRING NUMBER
19 root 1.1
20     %union {
21     char *ident;
22     char *string;
23 root 1.2 float num;
24 root 1.1 }
25    
26     %%
27    
28 root 1.2 proc:
29     ;