aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/lex.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-22 17:27:37 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-22 17:27:37 -0700
commit39e4332d45e770dfe684071db4d3427fa2ca6b0c (patch)
tree839faa275fd916808b4ab6bb00db32012080085c /sys/cmd/cc/lex.c
parent69487ed29aed49ca0e3481e9783e02e9156258b2 (diff)
fix: calling signature of popio
Diffstat (limited to 'sys/cmd/cc/lex.c')
-rw-r--r--sys/cmd/cc/lex.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys/cmd/cc/lex.c b/sys/cmd/cc/lex.c
index 1eb269c..dd6b476 100644
--- a/sys/cmd/cc/lex.c
+++ b/sys/cmd/cc/lex.c
@@ -852,33 +852,3 @@ forgetall(SymTab *tab)
{
MAP_RESET(tab);
}
-
-// -----------------------------------------------------------------------
-// error reporting
-
-void
-errorat(Pos x, byte *fmt, ...)
-{
- va_list args;
- va_start(args, fmt);
-
- printf("error:%s:%d:%d: ", osĀ·basename(x.path), x.line, x.col);
- vprintf(fmt, args);
- printf("\n");
-
- va_end(args);
- assert(0);
-}
-
-void
-warnat(Pos x, byte *fmt, ...)
-{
- va_list args;
- va_start(args, fmt);
-
- printf("warning:%s:%d:%d: ", osĀ·basename(x.path), x.line, x.col);
- vprintf(fmt, args);
- printf("\n");
-
- va_end(args);
-}