aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpc.gperf
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-12-02 22:37:02 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-12-02 22:37:02 +0000
commitf823497bd9d420a2cf83fa56f5090d4227ba73f5 (patch)
tree41bb9695e53c4cebdd6241f5f90f623bdb80a584 /tests/gpc.gperf
parent20ea4fec1d2bbdc73a92e7a0d9da462a841f7492 (diff)
downloadsrc-f823497bd9d420a2cf83fa56f5090d4227ba73f5.tar.gz
src-f823497bd9d420a2cf83fa56f5090d4227ba73f5.zip
Flatten gperf
Reviewed by: cognet Approved by: cognet
Notes
Notes: svn path=/vendor/gperf/dist/; revision=228212
Diffstat (limited to 'tests/gpc.gperf')
-rw-r--r--tests/gpc.gperf48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/gpc.gperf b/tests/gpc.gperf
new file mode 100644
index 000000000000..8fb469e46bc6
--- /dev/null
+++ b/tests/gpc.gperf
@@ -0,0 +1,48 @@
+%{
+/* ISO Pascal 7185 reserved words.
+ *
+ * For GNU Pascal compiler (GPC) by jtv@hut.fi
+ *
+ * run this through the Doug Schmidt's gperf program
+ * with command
+ * gperf -g -o -j1 -t -p -N is_reserved_word
+ *
+ */
+%}
+struct resword { char *name; short token; short iclass;};
+%%
+And, AND, PASCAL_ISO
+Array, ARRAY, PASCAL_ISO
+Begin, BEGIN_, PASCAL_ISO
+Case, CASE, PASCAL_ISO
+Const, CONST, PASCAL_ISO
+Div, DIV, PASCAL_ISO
+Do, DO, PASCAL_ISO
+Downto, DOWNTO, PASCAL_ISO
+Else, ELSE, PASCAL_ISO
+End, END, PASCAL_ISO
+File, FILE_, PASCAL_ISO
+For, FOR, PASCAL_ISO
+Function, FUNCTION, PASCAL_ISO
+Goto, GOTO, PASCAL_ISO
+If, IF, PASCAL_ISO
+In, IN, PASCAL_ISO
+Label, LABEL, PASCAL_ISO
+Mod, MOD, PASCAL_ISO
+Nil, NIL, PASCAL_ISO
+Not, NOT, PASCAL_ISO
+Of, OF, PASCAL_ISO
+Or, OR, PASCAL_ISO
+Packed, PACKED, PASCAL_ISO
+Procedure, PROCEDURE, PASCAL_ISO
+Program,PROGRAM,PASCAL_ISO
+Record, RECORD, PASCAL_ISO
+Repeat, REPEAT, PASCAL_ISO
+Set, SET, PASCAL_ISO
+Then, THEN, PASCAL_ISO
+To, TO, PASCAL_ISO
+Type, TYPE, PASCAL_ISO
+Until, UNTIL, PASCAL_ISO
+Var, VAR, PASCAL_ISO
+While, WHILE, PASCAL_ISO
+With, WITH, PASCAL_ISO