diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-14 10:32:21 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-14 10:32:21 -0400 |
commit | cc81ed5ed18464d6e632c79a1ccc9a2a8eea45b4 (patch) | |
tree | f6c1168e533fe28859269c111864ce82f88a8300 /parser.c | |
parent | 1d122d034def5e9f7e0a76159866de0f36ab56f7 (diff) |
astyle formatting run
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -498,8 +498,7 @@ static int Parser_get_unit(char *parameter,char *units) if ( (parameter[i]=='e' && parameter[i+1]=='-')
|| (parameter[i]=='e' && parameter[i+1]=='+') ) {
for (i+=2; (i < strlen(parameter)) && isdigit(parameter[i]); ++i) {}
- }
- else if (parameter[i]=='e' && isdigit(parameter[i+1]) ) {
+ } else if (parameter[i]=='e' && isdigit(parameter[i+1]) ) {
for (i+=2; (i < strlen(parameter)) && isdigit(parameter[i]); ++i) {}
}
}
@@ -737,7 +736,7 @@ void Parser_main (char *in, int interactive_terminal, void(*cbfunc)(gpointer, gc }
}
- if (error_num) {
+ if (error_num) {
queue_error_from_parser(&error_response, error_num);
if (interactive_terminal) {
(*cbfunc)(user_data, error_response);
@@ -747,7 +746,7 @@ void Parser_main (char *in, int interactive_terminal, void(*cbfunc)(gpointer, gc }
g_free (response);
- g_free (error_response);
+ g_free (error_response);
if (!is_query) {
Main_update_shift_registers(); /* update values in pulse generator circuit */
|