Changeset 4156
- Timestamp:
- 09/15/06 13:08:39 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/scanner-opt-branch/lib/conf-lex.l
r4148 r4156 106 106 } 107 107 108 /* Keywords must be followed by whitespace - eat that too */ 109 110 label{BLANK}+ { 108 /* 109 * Keywords must be followed by whitespace - eat that too. 110 * If there isn't trailing whitespace, we still need to 111 * accept it as lexically correct (even though the parser 112 * will reject it anyway.) 113 */ 114 115 label{BLANK}* { 111 116 sensors_yylval.line = sensors_yylineno; 112 117 BEGIN(MIDDLE); … … 114 119 } 115 120 116 set{BLANK} +{121 set{BLANK}* { 117 122 sensors_yylval.line = sensors_yylineno; 118 123 BEGIN(MIDDLE); … … 120 125 } 121 126 122 compute{BLANK} +{127 compute{BLANK}* { 123 128 sensors_yylval.line = sensors_yylineno; 124 129 BEGIN(MIDDLE); … … 126 131 } 127 132 128 bus{BLANK} +{133 bus{BLANK}* { 129 134 sensors_yylval.line = sensors_yylineno; 130 135 BEGIN(MIDDLE); … … 132 137 } 133 138 134 chip{BLANK} +{139 chip{BLANK}* { 135 140 sensors_yylval.line = sensors_yylineno; 136 141 BEGIN(MIDDLE); … … 138 143 } 139 144 140 ignore{BLANK} +{145 ignore{BLANK}* { 141 146 sensors_yylval.line = sensors_yylineno; 142 147 BEGIN(MIDDLE);
