mirror of
https://github.com/tLDP/LDP.git
synced 2025-11-30 23:16:02 +07:00
Fix inconsistent use of tabs and spaces
This commit is contained in:
@@ -970,12 +970,12 @@ The Lexer file changes a bit too:
|
||||
%}
|
||||
%%
|
||||
[0-9]+ yylval.number=atoi(yytext); return NUMBER;
|
||||
heater return TOKHEATER;
|
||||
heater return TOKHEATER;
|
||||
heat return TOKHEAT;
|
||||
on|off yylval.number=!strcmp(yytext,"on"); return STATE;
|
||||
target return TOKTARGET;
|
||||
temperature return TOKTEMPERATURE;
|
||||
[a-z0-9]+ yylval.string=strdup(yytext); return WORD;
|
||||
[a-z0-9]+ yylval.string=strdup(yytext); return WORD;
|
||||
\n /* ignore end of line */;
|
||||
[ \t]+ /* ignore whitespace */;
|
||||
%%
|
||||
|
||||
Reference in New Issue
Block a user