aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 10:24:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 10:24:35 +0000
commitfee8aca887653490f8c052e474d2a620140e741d (patch)
treee70cabf49ec8c391686a906b8b1ee2c861acb251 /mandoc.h
parent06de568c21235414d9aeaf92aef7127950caa2bf (diff)
downloadmandoc-fee8aca887653490f8c052e474d2a620140e741d.tar.gz
mandoc-fee8aca887653490f8c052e474d2a620140e741d.tar.zst
mandoc-fee8aca887653490f8c052e474d2a620140e741d.zip
Finish the eqn syntactic parser. This correctly parses terms and does
the proper `define' dance, which amounts to pure word-replace (you can, say, define `foo' as `define' then define `define' as something else). eqn.c is now ready for some semantic parsing of `box' and `eqn' productions as defined by the grammar.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 31d5444a..a832310a 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.81 2011/07/18 14:30:51 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.82 2011/07/21 10:24:35 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -280,7 +280,7 @@ struct tbl_span {
struct eqn {
size_t sz;
char *data;
- int line; /* invocation line */
+ int ln; /* invocation line */
int pos; /* invocation position */
};