ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/doom3map_parser.y++
(Generate patch)

Comparing libgender/doom3map_parser.y++ (file contents):
Revision 1.1 by root, Sat Nov 6 00:44:50 2004 UTC vs.
Revision 1.2 by root, Sat Nov 6 00:52:36 2004 UTC

119triangle: NUMBER NUMBER NUMBER { 119triangle: NUMBER NUMBER NUMBER {
120 tmpidx.push_back ((GLushort) $1); 120 tmpidx.push_back ((GLushort) $1);
121 tmpidx.push_back ((GLushort) $2); 121 tmpidx.push_back ((GLushort) $2);
122 tmpidx.push_back ((GLushort) $3); 122 tmpidx.push_back ((GLushort) $3);
123} 123}
124
124%% 125%%
126
125extern FILE *yyin; 127extern FILE *yyin;
126 128
127bool doom3parse (const char *f) { 129bool doom3parse (const char *f) {
128 yyin = fopen (f, "r"); 130 yyin = fopen (f, "r");
129 if (!yyin) return false; 131 if (!yyin) return false;
130 yyparse (); 132 yyparse ();
131} 133}
134

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines