source:
trunk/tools/linguist/shared/make-qscript.sh@
86
| Last change on this file since 86 was 2, checked in by , 16 years ago | |
|---|---|
|
|
| File size: 267 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | me=$(dirname $0) |
| 4 | mkdir -p $me/out |
| 5 | (cd $me/out && ${QLALR-qlalr} --no-debug --troll --no-lines ../qscript.g) |
| 6 | |
| 7 | for f in $me/out/*.{h,cpp}; do |
| 8 | n=$(basename $f) |
| 9 | p4 open $me/../$n |
| 10 | cp $f $me/../$n |
| 11 | done |
| 12 | |
| 13 | p4 revert -a $me/../... |
| 14 | p4 diff -du $me/../... |
Note:
See TracBrowser
for help on using the repository browser.
