Update messages related to tidlc options 08/241908/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 21 Aug 2020 00:09:11 +0000 (09:09 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 21 Aug 2020 00:09:11 +0000 (09:09 +0900)
Change-Id: I23b9951e072dc6f669d8d034a0ca7cbdb2d8ebed
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
README.md
idlc/ast/tidlc.yy
idlc/options.cc

index 07a3df4..ac16a11 100755 (executable)
--- a/README.md
+++ b/README.md
@@ -21,6 +21,10 @@ Additional Options:
   -l, --language=LANGUAGE     Select generating language (C, C++, C#).
   -i, --input=INPUT           A tidl interface file.
   -o, --output=OUTPUT         The generated interface file.
+  -n, --namespace             Add the prefix in the funtion name as output file name (C language only).
+  -r, --rpclib                Generate C# library for rpc-port (C# language only).
+  -b, --beta                  Use beta version (Support private file sharing).
+  -t, --thread                Generate thread code (Stub only).
 
 Application Options:
   -p, --proxy                 Generate proxy code
index 99668fe..7fd3848 100644 (file)
@@ -405,6 +405,7 @@ base_type: raw_type {
     | T_FILE {
       if (!ps->IsBetaEnabled()) {
         ps->ReportError("syntax error. \"No identifier\".", @1.begin.line);
+        ps->ReportError("try to use beta version (-b option).", @1.begin.line);
         $$ = NULL;
         delete $1;
       } else {
index c19cd5a..b9eaa76 100644 (file)
@@ -36,6 +36,8 @@ Additional Options:
   -o, --output=OUTPUT         The generated interface file.
   -n, --namespace             Add the prefix in the funtion name as output file name (C language only).
   -r, --rpclib                Generate C# library for rpc-port (C# language only).
+  -b, --beta                  Use beta version (Support private file sharing).
+  -t, --thread                Generate thread code (Stub only).
 
 Application Options:
   -p, --proxy                 Generate proxy code