added xlat.makefile
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Tue, 10 Dec 1996 18:10:42 +0000 (18:10 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Tue, 10 Dec 1996 18:10:42 +0000 (18:10 +0000)
src/xlat-i/xi-parse.bison
src/xlat-i/xlat.makefile [new file with mode: 0644]

index d367d5285bbe59fe25fd7d80081a1a7491e9e0f3..ecbc898b83ef3b1f45f45f3ce32a990e9044ca2c 100644 (file)
@@ -51,8 +51,7 @@ ItemList:     Item
        |       ItemList Item
        ;
 
-Item   :       Boc | Chare | Message | ReadOnly | Table |
-PackMessage
+Item   :       Boc | Chare | Message | ReadOnly | Table | PackMessage
        ;
 
 OptionalExtern
diff --git a/src/xlat-i/xlat.makefile b/src/xlat-i/xlat.makefile
new file mode 100644 (file)
index 0000000..d4f9608
--- /dev/null
@@ -0,0 +1,10 @@
+all: xi-parse.tab.C xi-scan.C
+
+xi-parse.tab.C: xi-parse.bison
+       byacc -d xi-parse.bison
+       mv y.tab.c xi-parse.tab.C
+       mv y.tab.h xi-parse.tab.h
+
+xi-scan.C: xi-scan.flex
+       flex xi-scan.flex
+       mv lex.yy.c xi-scan.C