update indentation
This commit is contained in:
parent
e5dd3831c2
commit
6b67936d16
|
@ -34,10 +34,10 @@
|
||||||
|
|
||||||
struct arg_options {
|
struct arg_options {
|
||||||
struct u6a_codegen_options codegen;
|
struct u6a_codegen_options codegen;
|
||||||
FILE* input_file;
|
FILE* input_file;
|
||||||
char* input_file_name;
|
char* input_file_name;
|
||||||
char* output_file_prefix;
|
char* output_file_prefix;
|
||||||
bool print_only;
|
bool print_only;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char* err_toplevel = "error";
|
static const char* err_toplevel = "error";
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
##
|
##
|
||||||
## cat.exp - Test whether a "cat" program works on this u6a build
|
# cat.exp - Test whether a "cat" program works on this u6a build
|
||||||
##
|
#
|
||||||
## Copyright (C) 2020 CismonX <admin@cismon.net>
|
# Copyright (C) 2020 CismonX <admin@cismon.net>
|
||||||
##
|
#
|
||||||
## This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
## the Free Software Foundation, either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
## (at your option) any later version.
|
# (at your option) any later version.
|
||||||
##
|
#
|
||||||
## This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
## GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
##
|
#
|
||||||
## You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
##
|
#
|
||||||
|
|
||||||
set tool "default"
|
set tool "default"
|
||||||
set timeout 5
|
set timeout 5
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
##
|
##
|
||||||
## dump.exp - Test whether mnemonic dumping works on this u6a build
|
# dump.exp - Test whether mnemonic dumping works on this u6a build
|
||||||
##
|
#
|
||||||
## Copyright (C) 2020 CismonX <admin@cismon.net>
|
# Copyright (C) 2020 CismonX <admin@cismon.net>
|
||||||
##
|
#
|
||||||
## This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
## the Free Software Foundation, either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
## (at your option) any later version.
|
# (at your option) any later version.
|
||||||
##
|
#
|
||||||
## This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
## GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
##
|
#
|
||||||
## You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
##
|
#
|
||||||
|
|
||||||
set tool "default"
|
set tool "default"
|
||||||
set timeout 1
|
set timeout 1
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
##
|
##
|
||||||
## square.exp - Test whether a "square" program works on this u6a build
|
# square.exp - Test whether a "square" program works on this u6a build
|
||||||
##
|
#
|
||||||
## Copyright (C) 2020 CismonX <admin@cismon.net>
|
# Copyright (C) 2020 CismonX <admin@cismon.net>
|
||||||
##
|
#
|
||||||
## This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
## the Free Software Foundation, either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
## (at your option) any later version.
|
# (at your option) any later version.
|
||||||
##
|
#
|
||||||
## This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
## GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
##
|
#
|
||||||
## You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
##
|
#
|
||||||
|
|
||||||
set tool "default"
|
set tool "default"
|
||||||
set timeout 5
|
set timeout 5
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
##
|
##
|
||||||
## init.exp - u6a test init script
|
# init.exp - u6a test init script
|
||||||
##
|
#
|
||||||
## Copyright (C) 2020 CismonX <admin@cismon.net>
|
# Copyright (C) 2020 CismonX <admin@cismon.net>
|
||||||
##
|
#
|
||||||
## This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
## the Free Software Foundation, either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
## (at your option) any later version.
|
# (at your option) any later version.
|
||||||
##
|
#
|
||||||
## This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
## GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
##
|
#
|
||||||
## You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
##
|
#
|
||||||
|
|
||||||
proc u6a_dump_mnemonics { src_code } {
|
proc u6a_dump_mnemonics { src_code } {
|
||||||
global U6AC_BIN
|
global U6AC_BIN
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
##
|
##
|
||||||
## u6a_run - helper script for running tests for u6a
|
# u6a_run - helper script for running tests for u6a
|
||||||
##
|
#
|
||||||
## Copyright (C) 2020 CismonX <admin@cismon.net>
|
# Copyright (C) 2020 CismonX <admin@cismon.net>
|
||||||
##
|
#
|
||||||
## This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
## the Free Software Foundation, either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
## (at your option) any later version.
|
# (at your option) any later version.
|
||||||
##
|
#
|
||||||
## This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
## GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
##
|
#
|
||||||
## You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
##
|
#
|
||||||
|
|
||||||
U6A_BYTECODE=`echo $5 | $1 - | base64 $3`
|
U6A_BYTECODE=`echo $5 | $1 - | base64 $3`
|
||||||
test -z $U6A_BYTECODE && exit -1
|
test -z $U6A_BYTECODE && exit -1
|
||||||
|
|
Loading…
Reference in New Issue