value-parser: Make parse_value() accept variable's print format also.
[pspp-builds.git] / src / language / lexer / value-parser.h
index 4f9004a361478efcbca80d2a41476706e5395cc7..94b2cdc142482a456bb7e277ae7f3ccce39b36f1 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2009, 2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 struct lexer;
 enum fmt_type;
+struct variable;
 union value;
 bool parse_num_range (struct lexer *,
                       double *x, double *y, const enum fmt_type *fmt);
-bool parse_value (struct lexer *, union value *, int width);
+bool parse_value (struct lexer *, union value *, const struct variable *);
 
 #endif /* value-parser.h */