empty OER stub generator
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c
index d8f60c3..f13563b 100644
--- a/libasn1compiler/asn1c_C.c
+++ b/libasn1compiler/asn1c_C.c
@@ -1340,6 +1340,8 @@
 	OUT("td->xer_encoder    = asn_DEF_%s.xer_encoder;\n",    type_name);
 	OUT("td->uper_decoder   = asn_DEF_%s.uper_decoder;\n",   type_name);
 	OUT("td->uper_encoder   = asn_DEF_%s.uper_encoder;\n",   type_name);
+	OUT("td->oer_decoder    = asn_DEF_%s.oer_decoder;\n",   type_name);
+	OUT("td->oer_encoder    = asn_DEF_%s.oer_encoder;\n",   type_name);
 	if(!terminal && !tags_count) {
 	  OUT("/* The next four lines are here because of -fknown-extern-type */\n");
 	  OUT("td->tags           = asn_DEF_%s.tags;\n",         type_name);
@@ -2558,6 +2560,12 @@
 			OUT("0, 0,\t/* No PER support, "
 				"use \"-gen-PER\" to enable */\n");
 		}
+		if(arg->flags & A1C_GEN_OER) {
+			OUT("0, 0,\t/* No OER support yet */\n");
+		} else {
+			OUT("0, 0,\t/* No OER support, "
+				"use \"-gen-OER\" to enable */\n");
+		}
 
 		if(!terminal || terminal->expr_type == ASN_CONSTR_CHOICE) {
 		//if(expr->expr_type == ASN_CONSTR_CHOICE) {
diff --git a/libasn1compiler/asn1compiler.h b/libasn1compiler/asn1compiler.h
index 827bc92..8e656b5 100644
--- a/libasn1compiler/asn1compiler.h
+++ b/libasn1compiler/asn1compiler.h
@@ -56,11 +56,7 @@
 	 * Symlink support files rather than copy them.
 	 */
 	A1C_LINK_SKELETONS	= 0x0800,
-	/*
-	 * -gen-PER
-	 * Generate PER support code
-	 */
-	A1C_GEN_PER			= 0x1000,
+
 	/*
 	 * -pdu={all|auto|Type}
 	 * Generate PDU table
@@ -77,7 +73,17 @@
 	 * -fline-refs
 	 * Include ASN.1 module's line numbers in comments.
 	 */
-	A1C_LINE_REFS       = 0x20000
+	A1C_LINE_REFS       = 0x20000,
+	/*
+	 * -gen-OER
+	 * Generate Octet Encoding Rules support code
+	 */
+	A1C_GEN_OER			= 0x40000,
+	/*
+	 * -gen-PER
+	 * Generate Packed Encoding Rules support code
+	 */
+	A1C_GEN_PER			= 0x80000,
 };
 
 /*