summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/expr/mkmetakind6
-rw-r--r--src/theory/Makefile.subdirs2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/expr/mkmetakind b/src/expr/mkmetakind
index 079bea861..89e2861d6 100755
--- a/src/expr/mkmetakind
+++ b/src/expr/mkmetakind
@@ -210,13 +210,13 @@ function register_metakind {
";
# figure out the range given by $nc
- if expr "$nc" : '[0-9]\+$' >/dev/null; then
+ if expr "$nc" : '[0-9][0-9]*$' >/dev/null; then
lb=$nc
ub=$nc
- elif expr "$nc" : '[0-9]\+:$' >/dev/null; then
+ elif expr "$nc" : '[0-9][0-9]*:$' >/dev/null; then
let `echo "$nc" | awk 'BEGIN{FS=":"}{print"lb="$1}'`
ub=MAX_CHILDREN
- elif expr "$nc" : '[0-9]\+:[0-9]\+$' >/dev/null; then
+ elif expr "$nc" : '[0-9][0-9]*:[0-9][0-9]*$' >/dev/null; then
let `echo "$nc" | awk 'BEGIN{FS=":"}{print"lb="$1" ub="$2}'`
if [ $ub -lt $lb ]; then
echo "$kf:$lineno: error in range \`$nc': LB < UB (in definition of $k)" >&2
diff --git a/src/theory/Makefile.subdirs b/src/theory/Makefile.subdirs
index eafb350ae..99adc7d0d 100644
--- a/src/theory/Makefile.subdirs
+++ b/src/theory/Makefile.subdirs
@@ -1,5 +1,5 @@
$(top_builddir)/src/theory/.subdirs: $(top_srcdir)/src/theory/Makefile.am
- $(AM_V_at)grep '^SUBDIRS = ' $(top_srcdir)/src/theory/Makefile.am | cut -d' ' -f3- | tr ' ' "\n" | xargs -i__D__ echo $(top_srcdir)/src/theory/__D__/kinds >$(top_builddir)/src/theory/.subdirs.tmp
+ $(AM_V_at)grep '^SUBDIRS = ' $(top_srcdir)/src/theory/Makefile.am | cut -d' ' -f3- | tr ' ' "\n" | xargs -I__D__ echo $(top_srcdir)/src/theory/__D__/kinds >$(top_builddir)/src/theory/.subdirs.tmp
@if ! diff -q $(top_builddir)/src/theory/.subdirs $(top_builddir)/src/theory/.subdirs.tmp &>/dev/null; then \
echo " GEN " $@; \
$(am__mv) $(top_builddir)/src/theory/.subdirs.tmp $(top_builddir)/src/theory/.subdirs; \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback