Changeset 4146
- Timestamp:
- 09/06/06 04:31:54 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/scanner-opt-branch/lib/conf-lex.l
r4145 r4146 106 106 } 107 107 108 /* Some keywords at the beginning of lines*/109 110 "label" {108 /* Keywords must be followed by whitespace - eat that too */ 109 110 "label"{BLANK}+ { 111 111 sensors_yylval.line = sensors_yylineno; 112 112 BEGIN(MIDDLE); … … 114 114 } 115 115 116 "set" {116 "set"{BLANK}+ { 117 117 sensors_yylval.line = sensors_yylineno; 118 118 BEGIN(MIDDLE); … … 120 120 } 121 121 122 "compute" {122 "compute"{BLANK}+ { 123 123 sensors_yylval.line = sensors_yylineno; 124 124 BEGIN(MIDDLE); … … 126 126 } 127 127 128 "bus" {128 "bus"{BLANK}+ { 129 129 sensors_yylval.line = sensors_yylineno; 130 130 BEGIN(MIDDLE); … … 132 132 } 133 133 134 "chip" {134 "chip"{BLANK}+ { 135 135 sensors_yylval.line = sensors_yylineno; 136 136 BEGIN(MIDDLE); … … 138 138 } 139 139 140 "ignore" {140 "ignore"{BLANK}+ { 141 141 sensors_yylval.line = sensors_yylineno; 142 142 BEGIN(MIDDLE); … … 187 187 sensors_yylineno++; 188 188 } 189 190 /* comments */ 189 191 190 192 #.* ; /* eat the rest of the line after comment char */
