Commit e9ac56fb authored by Russ Cox's avatar Russ Cox

getc/ungetc in assemblers; BUFSIZ everywhere.

Fixes #67.

R=r
https://golang.org/cl/154068
parent 03435099
......@@ -37,6 +37,10 @@
#define EXTERN extern
#endif
#define getc aagetc
#define ungetc aaungetc
#define BUFSIZ AABUFSIZ
typedef struct Sym Sym;
typedef struct Gen Gen;
typedef struct Io Io;
......
......@@ -38,6 +38,10 @@
#define EXTERN extern
#endif
#define getc aagetc
#define ungetc aaungetc
#define BUFSIZ AABUFSIZ
typedef struct Sym Sym;
typedef struct Ref Ref;
typedef struct Gen Gen;
......
......@@ -38,6 +38,10 @@
#define EXTERN extern
#endif
#define getc aagetc
#define ungetc aaungetc
#define BUFSIZ AABUFSIZ
typedef struct Sym Sym;
typedef struct Ref Ref;
typedef struct Gen Gen;
......
......@@ -41,6 +41,7 @@
#define getc ccgetc
#define ungetc ccungetc
#define BUFSIZ GCBUFSIZ
typedef struct Node Node;
typedef struct Sym Sym;
......
......@@ -17,6 +17,7 @@
#define getc gcgetc
#define ungetc gcungetc
#define BUFSIZ GCBUFSIZ
enum
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment