Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
180254 committed Dec 11, 2016
1 parent 0ebd5ef commit 35890b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions comp-project/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ int main(int argc, char *argv[]) {

void usage(const char *app, const char *message) {
cerr << "app error: " << message << "\n";
cerr << "app usage: " << app << " PATH\n";
cerr << "app usage: PATH = FILE-PATH | '-'\n";
cerr << "app usage: " << app << " PATH DEBUG\n";
cerr << "app usage: PATH = FILE-PATH | '-'\n";
cerr << "app usage: DEBUG = '-d' | empty\n";
}

/* ------------------------------------------------------------------------- */
2 changes: 2 additions & 0 deletions comp-project/xsame1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/python3

# usage: xsame1.py output.asm output2.asm

import os
import sys
import re
Expand Down
2 changes: 2 additions & 0 deletions comp-project/xsame2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/python3

# usage: ./xsame2.py ../vm/gcd.pas

import sys
import os

Expand Down
2 changes: 2 additions & 0 deletions comp-project/xsame3.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# usage: ./xsame3.sh

for f in ../vm/*.pas; do
echo -n "$f: "
python3 xsame2.py $f
Expand Down

0 comments on commit 35890b2

Please sign in to comment.