]> git.draconx.ca Git - cdecl99.git/blobdiff - src/cdecl-internal.h
libcdecl: Use gperf to identify keywords during scanning.
[cdecl99.git] / src / cdecl-internal.h
index ab6272590ed011573c5a2099a1ca4e3bbf516889..cf7fc1487469fa9881dce071111146c9f1102369 100644 (file)
@@ -35,7 +35,7 @@ static inline void cdecl__init_i18n(void)
 }
 #endif
 
-void cdecl__err(unsigned code, const char *fmt, ...);
+void cdecl__err(unsigned code, const char *fmt, const char *arg);
 void cdecl__errmsg(unsigned msg);
 
 struct cdecl_declspec *cdecl__normalize_specs(struct cdecl_declspec *specs);
@@ -53,4 +53,6 @@ const char *cdecl__emit_specs(struct output_state *dst,
                               struct cdecl_declspec *s,
                               unsigned mask);
 
+int cdecl__to_keyword(const char *s, int len, int english_mode);
+
 #endif