diff options
author | Gerald Carter <jerry@samba.org> | 2005-05-31 13:48:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:02 -0500 |
commit | 049d6714cb5aa0811624666335995b4b3fd28254 (patch) | |
tree | 2aa3f2225bf88f40fa9af7c2f1e25a9148c7935f /source3/aparser/util.awk | |
parent | f24d88cf9da46680d52b42b92bd484e7b09ce99b (diff) | |
download | samba-049d6714cb5aa0811624666335995b4b3fd28254.tar.gz samba-049d6714cb5aa0811624666335995b4b3fd28254.tar.bz2 samba-049d6714cb5aa0811624666335995b4b3fd28254.zip |
r7140: removing aparser directory since it is obselete in light of pidl
(This used to be commit 38cad678b8058d5ac99b41c0be07f4c58a720cfc)
Diffstat (limited to 'source3/aparser/util.awk')
-rw-r--r-- | source3/aparser/util.awk | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/source3/aparser/util.awk b/source3/aparser/util.awk deleted file mode 100644 index 6c5594da68..0000000000 --- a/source3/aparser/util.awk +++ /dev/null @@ -1,39 +0,0 @@ -function isaptr(elem) -{ - if (substr(elem, 1, 1) == "*") { - return 1; - } - return 0; -} - -function noptr(elem) -{ - if (!isaptr(elem)) return elem; - return substr(elem, 2); -} - -function xprintf(f, fmt, v1, v2, v3, v4, v5, v6, v7) -{ - printf(fmt, v1, v2, v3, v4, v5, v6) > f; -} - -function fatal(why) -{ - printf("FATAL: %s\n", why); - exit 1; -} - -function numlines(fname, - LOCAL, line, count) -{ - count=0; - while ((getline line < fname) > 0) count++; - close(fname); - return count; -} - -# return 1 if the string is a constant -function is_constant(s) -{ - return match(s,"^[0-9]+$"); -} |