]> git.kaiwu.me - quickjs.git/commitdiff
typos
authorFabrice Bellard <fabrice@bellard.org>
Wed, 27 Dec 2023 16:11:25 +0000 (17:11 +0100)
committerFabrice Bellard <fabrice@bellard.org>
Wed, 27 Dec 2023 16:11:25 +0000 (17:11 +0100)
qjsc.c
unicode_gen.c

diff --git a/qjsc.c b/qjsc.c
index 3dc2a12d4b8b7e31d744b4ad16da63044989e2be..f8e60b3ef693fd1090cc220f791b3fc51e46dfbb 100644 (file)
--- a/qjsc.c
+++ b/qjsc.c
@@ -344,8 +344,8 @@ void help(void)
            "usage: " PROG_NAME " [options] [files]\n"
            "\n"
            "options are:\n"
-           "-c          only output bytecode in a C file\n"
-           "-e          output main() and bytecode in a C file (default = executable output)\n"
+           "-c          only output bytecode to a C file\n"
+           "-e          output main() and bytecode to a C file (default = executable output)\n"
            "-o output   set the output filename\n"
            "-N cname    set the C name of the generated data\n"
            "-m          compile as Javascript module (default=autodetect)\n"
index f18aaa0ab286a32772c1cd51f6013f117c427e3e..d76f94fc15d38aa615cdd936daae0314066d9087 100644 (file)
@@ -217,7 +217,7 @@ static const char *unicode_prop_short_name[] = {
 #undef DEF
 };
 
-#undef UNICODE_SPROP_LIST
+#undef UNICODE_PROP_LIST
 
 typedef struct {
     /* case conv */