Daniel J Walsh ff8894
diff --exclude-from=exclude -N -u -r nsacheckpolicy/policy_parse.y checkpolicy-2.0.22/policy_parse.y
Daniel J Walsh ff8894
--- nsacheckpolicy/policy_parse.y	2010-05-19 14:45:51.000000000 -0400
Daniel J Walsh ff8894
+++ checkpolicy-2.0.22/policy_parse.y	2010-06-16 08:08:37.000000000 -0400
Daniel J Walsh ff8894
@@ -755,6 +755,8 @@
Daniel J Walsh ff8894
                         ;
Daniel J Walsh ff8894
 version_identifier      : VERSION_IDENTIFIER
Daniel J Walsh ff8894
                         { if (insert_id(yytext,0)) return -1; }
Daniel J Walsh ff8894
+			| number
Daniel J Walsh ff8894
+                        { if (insert_id(yytext,0)) return -1; }
Daniel J Walsh ff8894
                         | ipv4_addr_def /* version can look like ipv4 address */
Daniel J Walsh ff8894
                         ;
Daniel J Walsh ff8894
 avrules_block           : avrule_decls avrule_user_defs