fix typo of perflag && reformat .peg
This commit is contained in:
parent
12dcc2a60d
commit
ff6d4eeccd
4 changed files with 165 additions and 165 deletions
|
|
@ -487,7 +487,7 @@ int calc_wanted_global_resvals(xvec_idval_t* resvals, resmgr_t* resmgr,
|
||||||
}
|
}
|
||||||
|
|
||||||
int calc_wanted_host_resvals(xvec_idval_t* resvals, resmgr_t* resmgr,
|
int calc_wanted_host_resvals(xvec_idval_t* resvals, resmgr_t* resmgr,
|
||||||
xlist_t* rusages, rusage_per_type_t perfflag,
|
xlist_t* rusages, rusage_per_type_t perflag,
|
||||||
int nhosts, int nslots)
|
int nhosts, int nslots)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
/* Calculate line/column from max_err */
|
/* Calculate line/column from max_err */
|
||||||
auxil->has_error = 1;
|
auxil->has_error = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%common {
|
%common {
|
||||||
#include "resreq.h"
|
#include "resreq.h"
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
c; \
|
c; \
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rusage_spec <- _ rusage_params _ EOF
|
rusage_spec <- _ rusage_params _ EOF
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
/* Calculate line/column from max_err */
|
/* Calculate line/column from max_err */
|
||||||
auxil->has_error = 1;
|
auxil->has_error = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%common {
|
%common {
|
||||||
#include "resreq.h"
|
#include "resreq.h"
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
c; \
|
c; \
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
statement <- _ resource_statement _ EOF
|
statement <- _ resource_statement _ EOF
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
/* Calculate line/column from max_err */
|
/* Calculate line/column from max_err */
|
||||||
auxil->has_error = 1;
|
auxil->has_error = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%common {
|
%common {
|
||||||
#include "resreq.h"
|
#include "resreq.h"
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
c; \
|
c; \
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
statement <- _ resreq _ EOF
|
statement <- _ resreq _ EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue