projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
headers: move CPP guards into YY_*_INCLUDED to avoid collisions
[bison.git]
/
src
/
scan-code.h
diff --git
a/src/scan-code.h
b/src/scan-code.h
index 81a2afbe5dc6ab5911c54c7812e66d7d74a89ad3..c8d554d5b095396871e03dcf8e2b486985dc894c 100644
(file)
--- a/
src/scan-code.h
+++ b/
src/scan-code.h
@@
-1,6
+1,6
@@
/* Bison code properties structure and scanner.
/* Bison code properties structure and scanner.
- Copyright (C) 2006
, 2007, 2009, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2006
-2007, 2009-2012
Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
This file is part of Bison, the GNU Compiler Compiler.
@@
-45,7
+45,10
@@
typedef struct code_props {
CODE_PROPS_SYMBOL_ACTION, CODE_PROPS_RULE_ACTION
} kind;
CODE_PROPS_SYMBOL_ACTION, CODE_PROPS_RULE_ACTION
} kind;
- /** \c NULL iff \c code_props::kind is \c CODE_PROPS_NONE. */
+ /**
+ * \c NULL iff \c code_props::kind is \c CODE_PROPS_NONE.
+ * Memory is allocated in an obstack freed elsewhere.
+ */
char const *code;
/** Undefined iff \c code_props::code is \c NULL. */
location location;
char const *code;
/** Undefined iff \c code_props::code is \c NULL. */
location location;