summaryrefslogtreecommitdiff
path: root/source3/aparser/build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-17 06:53:21 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-17 06:53:21 +0000
commitba2f726efdb97c95c6110b0365a011121e27fce3 (patch)
treeab61d7cddc2bb615a938505b817cf0fd438999e0 /source3/aparser/build
parentc560164030c0b842ee06f651a2b019c5596624a2 (diff)
downloadsamba-ba2f726efdb97c95c6110b0365a011121e27fce3.tar.gz
samba-ba2f726efdb97c95c6110b0365a011121e27fce3.tar.bz2
samba-ba2f726efdb97c95c6110b0365a011121e27fce3.zip
- added typedefs
- added parse error checking - made parser more flexible (This used to be commit ab0beaf3573471fab1fda3358987b337811f99b7)
Diffstat (limited to 'source3/aparser/build')
-rwxr-xr-xsource3/aparser/build8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/aparser/build b/source3/aparser/build
index db4bec057d..a8b49451f6 100755
--- a/source3/aparser/build
+++ b/source3/aparser/build
@@ -2,6 +2,12 @@
file=$1
-igawk -f main.awk $file
+if ! igawk -f main.awk $file; then
+ echo parse failed;
+ exit 1;
+fi
+echo compiling vluke
gcc -Wall -g -o vluke parser.c vluke.c
+echo done.
+