public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd09c29
)
Worked around unput() not being strictly legal in the tail code section of a yacc...
author
dtrg
<none@none>
Tue, 18 Jul 2006 17:19:20 +0000
(17:19 +0000)
committer
dtrg
<none@none>
Tue, 18 Jul 2006 17:19:20 +0000
(17:19 +0000)
util/ncgg/scan.l
patch
|
blob
|
history
diff --git
a/util/ncgg/scan.l
b/util/ncgg/scan.l
index
98ac8e5
..
93552b6
100644
(file)
--- a/
util/ncgg/scan.l
+++ b/
util/ncgg/scan.l
@@
-94,6
+94,11
@@
yywrap() {
return(1);
}
+/* unput isn't technically legal in this section, so we need the
+ * following definition to make it work. */
+
+#define yytext_ptr yytext
+
skipupto(tok,str) char *str; {
register i;