diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:13 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:13 +0000 |
commit | c059776a3a8a7c760799d1a55c1a130c2179ecc9 (patch) | |
tree | 82ffbfb4d920bed078bcd77ebea90f0f2c7ff26e /gram.y | |
parent | e3dfd7a6398174ae8db6a1c0d5e5590d1dabcf31 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
Diffstat (limited to 'gram.y')
-rw-r--r-- | gram.y | 27 |
1 files changed, 4 insertions, 23 deletions
@@ -1,36 +1,18 @@ /* ** grammar for xgc syntax */ -/* $XFree86: xc/programs/xgc/gram.y,v 1.3 2000/02/17 14:00:36 dawes Exp $ */ +/* $XFree86: xc/programs/xgc/gram.y,v 1.4 2003/05/07 21:02:07 herrb Exp $ */ %{ #define YYDEBUG 1 #include <stdio.h> #include <X11/X.h> -#include "constants.h" +#include <X11/Intrinsic.h> +#include "xgc.h" extern int yylineno; -extern FILE *yyin; -int yylex(); -void yyerror(); -extern void GC_change_function(); -extern void GC_change_foreground(); -extern void GC_change_background(); -extern void GC_change_linewidth(); -extern void GC_change_linestyle(); -extern void GC_change_capstyle(); -extern void GC_change_joinstyle(); -extern void GC_change_fillstyle(); -extern void GC_change_fillrule(); -extern void GC_change_arcmode(); -extern void GC_change_dashlist(); -extern void GC_change_planemask(); -extern void GC_change_font(); -extern void change_test(); -extern void change_percent(); -extern void run_test(); %} %union @@ -109,8 +91,7 @@ stmt : error %% void -yyerror(s) - const char *s; +yyerror(const char *s) { fprintf(stderr, "xgc: syntax error, line %d\n", yylineno); } |