mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
Added Postscript outout for measurements, plus assorted changes.
- postscript.c: added patterns backhatchpath and crosspath (for pad overlaid with solder paste) - postscript.c: added measurements - postscript.c: prefixed style parameters with PS_ to avoid future conflicts with gui_style.h - when changing the default unit, we now cancel the selection, and refresh canvas and current position - on-screen measurements now suppress the unit if set to anything but "auto" - use __attribute__((format(printf, ...))) for printf-like functions - the unit selector now has a white background to make it clearer that it can be clicked git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5461 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
@@ -20,11 +20,13 @@ extern int lineno;
|
||||
extern void (*reporter)(const char *s);
|
||||
|
||||
|
||||
void yyerrorf(const char *fmt, ...);
|
||||
void yyerrorf(const char *fmt, ...)
|
||||
__attribute__((format(printf, 1, 2)));
|
||||
void yyerror(const char *s);
|
||||
|
||||
void report_to_stderr(const char *s);
|
||||
void report_parse_error(const char *s);
|
||||
void fail(const char *fmt, ...);
|
||||
void fail(const char *fmt, ...)
|
||||
__attribute__((format(printf, 1, 2)));
|
||||
|
||||
#endif /* !ERROR_H */
|
||||
|
||||
Reference in New Issue
Block a user