[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/geas lib/classdefs/yparser.y tools/mac/bui...
From: |
Neil Tiffin |
Subject: |
gnue/geas lib/classdefs/yparser.y tools/mac/bui... |
Date: |
Mon, 02 Jul 2001 10:23:00 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/07/02 10:23:00
Modified files:
geas/lib/classdefs: yparser.y
geas/tools/mac/build: make-parser.sh
geas/tools/mac/gcdVerifier.pbproj: ntiffin.pbxuser
Log message:
Horrible patch to make NOT NULL work.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/lib/classdefs/yparser.y.diff?cvsroot=OldCVS&tr1=1.34&tr2=1.35&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/tools/mac/build/make-parser.sh.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/tools/mac/gcdVerifier.pbproj/ntiffin.pbxuser.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gnue/geas/lib/classdefs/yparser.y
diff -u gnue/geas/lib/classdefs/yparser.y:1.34
gnue/geas/lib/classdefs/yparser.y:1.35
--- gnue/geas/lib/classdefs/yparser.y:1.34 Thu Jun 28 21:08:25 2001
+++ gnue/geas/lib/classdefs/yparser.y Mon Jul 2 10:23:00 2001
@@ -96,6 +96,12 @@
dt_off: /* dummy rule, modifies expecting_* */ { expecting_datatype=0;
/*printf("off\n");*/ }
;
+
+fp_on: /* dummy rule, modifies expecting_* */ { expecting_fieldprop=1;
printf("fld prop on\n"); }
+ ;
+
+fp_off: /* dummy rule, modifies expecting_* */ { expecting_fieldprop=0;
printf("fld prop off\n"); }
+ ;
/* 'fake' rules to cause the tree to have items added */
push_module: /* */ {
@@ -436,10 +442,6 @@
| '=' SYMBOL { $$ = $2; }
;
-opt_properties: /* */ { $$ = ODL_PROP_NONE; }
- | properties { $$ = $1; }
- ;
-
property: NOT NUL { $$ = ODL_PROP_NOTNULL; }
;
@@ -447,6 +449,10 @@
| properties property { $$ = $1 | $2; }
;
+opt_properties: /* */ { $$ = ODL_PROP_NONE; }
+ | '!' fp_on properties fp_off { $$ = $3; }
+ ;
+
new_field: new_field_name opt_format opt_default opt_properties {
$$ = alloc_odl_item();
if( $$ )
@@ -458,6 +464,7 @@
$$->fieldtype = FT_basic;
$$->format = $2;
$$->defaultval = $3;
+ $$->properties = $4;
}
}
;
Index: gnue/geas/tools/mac/build/make-parser.sh
diff -u gnue/geas/tools/mac/build/make-parser.sh:1.1
gnue/geas/tools/mac/build/make-parser.sh:1.2
--- gnue/geas/tools/mac/build/make-parser.sh:1.1 Fri Jun 22 07:50:47 2001
+++ gnue/geas/tools/mac/build/make-parser.sh Mon Jul 2 10:23:00 2001
@@ -1,15 +1,21 @@
#!/bin/sh
cd /volumes/anagadaII/gnue/geas/lib/classdefs
+
# debug version
# bison -y -d -v -t ./yparser.y
+
# non debug version
bison -y -d -v ./yparser.y
+
cp ./y.tab.c ./yparser.c
cp ./y.tab.h ./yparser.h
-#debug version
+
+# debug version
# flex -i -d ./lparser.l
+
# non-debug version
flex -i ./lparser.l
+
cp ./lex.yy.c ./lparser.c
#bison -y -d -v yparser.y && mv y.tab.c yparser.c
Index: gnue/geas/tools/mac/gcdVerifier.pbproj/ntiffin.pbxuser
diff -u gnue/geas/tools/mac/gcdVerifier.pbproj/ntiffin.pbxuser:1.2
gnue/geas/tools/mac/gcdVerifier.pbproj/ntiffin.pbxuser:1.3
--- gnue/geas/tools/mac/gcdVerifier.pbproj/ntiffin.pbxuser:1.2 Wed Jun 27
11:48:17 2001
+++ gnue/geas/tools/mac/gcdVerifier.pbproj/ntiffin.pbxuser Mon Jul 2
10:23:00 2001
@@ -1,5 +1,10 @@
// !$*UTF8*$!
{
+ 0105A54E00B863487F000001 = {
+ uiCtxt = {
+ sepNavWindowFrame = "{{85, 168}, {750, 502}}";
+ };
+ };
014BECA30089D4E57F000001 = {
activeArgIndex = 4;
argumentStrings = (
@@ -18,14 +23,39 @@
sourceDirectories = (
);
};
+ 0162C4AF0089DC207F000001 = {
+ uiCtxt = {
+ sepNavWindowFrame = "{{167, 147}, {750, 502}}";
+ };
+ };
0162C4B30089DD937F000001 = {
uiCtxt = {
sepNavWindowFrame = "{{15, 239}, {750, 502}}";
};
};
+ 0162C4C30089E2C57F000001 = {
+ uiCtxt = {
+ sepNavWindowFrame = "{{15, 239}, {750, 502}}";
+ };
+ };
+ 0162C4C60089E3877F000001 = {
+ uiCtxt = {
+ sepNavWindowFrame = "{{38, 218}, {750, 502}}";
+ };
+ };
+ 017FF93C00A75CCC7F000001 = {
+ uiCtxt = {
+ sepNavWindowFrame = "{{84, 176}, {750, 502}}";
+ };
+ };
+ 017FF93F00A75D437F000001 = {
+ uiCtxt = {
+ sepNavWindowFrame = "{{15, 208}, {1003, 533}}";
+ };
+ };
017FF94000A75D437F000001 = {
uiCtxt = {
- sepNavWindowFrame = "{{15, 117}, {824, 624}}";
+ sepNavWindowFrame = "{{149, 88}, {824, 624}}";
};
};
08FB7793FE84155DC02AAC07 = {
@@ -88,7 +118,7 @@
Frame = "{{0, 0}, {712,
262}}";
};
Tab3 = {
- Frame = "{{0, 0}, {749,
272}}";
+ Frame = "{{0, 0}, {712,
507}}";
};
TabCount = 4;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/geas lib/classdefs/yparser.y tools/mac/bui...,
Neil Tiffin <=