Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/rpsl/rpsl.y.orig 2012-07-31 12:10:39 UTC | |||||
+++ src/rpsl/rpsl.y | |||||
@@ -83,7 +83,6 @@ void handleArgumentTypeError(char *attr, | |||||
const AttrMethod *searchMethod(const AttrRPAttr *rp_attr, const char *method, ItemList *args); | |||||
/* argument to yyparse result of parsing should be stored here */ | |||||
-#define YYPARSE_PARAM object | |||||
#define yyschema schema | |||||
#define enable_yy_parser_debugging enable_rpsl_parser_debugging | |||||
@@ -91,8 +90,9 @@ extern Object *current_object; | |||||
%} | |||||
-%name-prefix="rpsl" | |||||
-%output="rpsl.y.cc" | |||||
+%name-prefix "rpsl" | |||||
+%output "rpsl.y.cc" | |||||
+%parse-param {Object *object} | |||||
%expect 1 | |||||