lintian doesn't like orphan packages with uploaders...
[debian/amanda] / recover-src / uparse.y
index 1562e9c7a7fc70dd09289dcec0e731ea46b02393..a05e536232184443a21b717d5b0f9c4ad3cf1790 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1998, 2000 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -53,7 +54,7 @@ extern char * yytext;
 %token SETHOST SETDISK SETDATE SETTAPE SETMODE SETDEVICE SETPROPERTY
 %token CD CDX QUIT DHIST LS ADD ADDX EXTRACT DASH_H
 %token LIST DELETE DELETEX PWD CLEAR HELP LCD LPWD MODE SMB TAR
-%token APPEND PRIORITY
+%token APPEND PRIORITY SETTRANSLATE
 %token NL
 
         /* typed tokens */
@@ -87,6 +88,9 @@ set_command:
   |    LISTDISK STRING invalid_string { yyerror("Invalid argument"); amfree($2); }
   |    LISTPROPERTY NL { list_property(); }
   |    LISTPROPERTY invalid_string { yyerror("Invalid argument"); }
+  |    SETTRANSLATE NL { set_translate(NULL); }
+  |    SETTRANSLATE STRING invalid_string NL { yyerror("Invalid argument"); }
+  |    SETTRANSLATE STRING NL { set_translate($2); amfree($2); }
   |    SETHOST STRING NL { set_host($2); amfree($2); }
   |    SETHOST STRING invalid_string { yyerror("Invalid argument"); amfree($2); }
   |    SETHOST NL { yyerror("Argument required"); }