projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a410a
)
made parsing slightly more forgiving with respect to commas, in case user
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 6 Mar 2003 19:07:33 +0000
(19:07 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 6 Mar 2003 19:07:33 +0000
(19:07 +0000)
hand-edits calibration file
lib/calib_yacc.y
patch
|
blob
|
history
diff --git
a/lib/calib_yacc.y
b/lib/calib_yacc.y
index cd4e2991fce8a0e5f45900ee960fdf2b1e523bb3..1e1bf5d0bd74d209aa6c2b8eb0577165fc755981 100644
(file)
--- a/
lib/calib_yacc.y
+++ b/
lib/calib_yacc.y
@@
-246,7
+246,7
@@
extern struct calibration_file_contents* parse_calibration_file( FILE *file )
;
calibration_setting: /* empty */ { cal_index++; }
- | calibration_setting_element
+ | calibration_setting_element
{ cal_index++; }
| calibration_setting_element ',' calibration_setting
;
@@
-293,7
+293,7
@@
extern struct calibration_file_contents* parse_calibration_file( FILE *file )
;
caldac: /* empty */ { add_caldac( parsed_file, caldac ); }
- | caldac_element
+ | caldac_element
{ add_caldac( parsed_file, caldac ); }
| caldac_element ',' caldac
;