Changeset 4235
- Timestamp:
- 11/12/06 19:24:55 (7 years ago)
- Location:
- lm-sensors/trunk/lib
- Files:
-
- 2 modified
-
conf-lex.l (modified) (2 diffs)
-
sensors.conf.5 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/lib/conf-lex.l
r4222 r4235 263 263 <STRING>{ 264 264 265 /* Oops, newline while in a string is not good */265 /* Oops, newline or EOF while in a string is not good */ 266 266 267 267 \n | 268 268 \\\n { 269 269 buffer_add_char("\0"); 270 strcpy(sensors_lex_error,"No matching double quote"); 270 strcpy(sensors_lex_error, 271 "No matching double quote."); 271 272 buffer_free(); 272 BEGIN(INITIAL); 273 yyless(0); 274 BEGIN(ERR); 275 return ERROR; 276 } 277 278 <<EOF>> { 279 strcpy(sensors_lex_error, 280 "Reached end-of-file without a matching double quote."); 281 BEGIN(MIDDLE); 273 282 return ERROR; 274 283 } … … 276 285 /* At the end */ 277 286 287 \"\" { 288 buffer_add_char("\0"); 289 strcpy(sensors_lex_error, 290 "Quoted strings must be separated by whitespace."); 291 buffer_free(); 292 BEGIN(ERR); 293 return ERROR; 294 } 295 278 296 \" { 279 297 buffer_add_char("\0"); -
lm-sensors/trunk/lib/sensors.conf.5
r4208 r4235 35 35 Comments are introduces by hash marks. A comment continues to the end of the 36 36 line. Empty lines, and lines containing only whitespace or comments are 37 ignored. Other lines have one of the below forms. There shouldbe whitespace37 ignored. Other lines have one of the below forms. There must be whitespace 38 38 between each element, but the amount of whitespace is unimportant. A line 39 39 may be continued on the next line by ending it with a backslash; this does
