Some lines had trailing tabs and spaces. Get rid of them.
---
src/compiler/compiler.h | 6 +++---
src/compiler/parser.y | 3 +--
src/compiler/parser_helper.c | 2 +-
src/compiler/scanner.re | 6 +++---
4 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/src/compiler/compiler.h b/src/compiler/compiler.h
index 46e62a1..55bb854 100644
--- a/src/compiler/compiler.h
+++ b/src/compiler/compiler.h
@@ -117,7 +117,7 @@ enum {
pfv_osc2,
pfv_osc3,
pfv_osc4,
-
+
pfv_midi1,
pfv_midi2,
pfv_midi3,
@@ -128,7 +128,7 @@ enum {
pfv_midi8,
pfv_video_a,
-
+
pfv_image1_a,
pfv_image1_x,
pfv_image1_y,
@@ -191,7 +191,7 @@ enum {
pvv_osc2,
pvv_osc3,
pvv_osc4,
-
+
pvv_midi1,
pvv_midi2,
pvv_midi3,
diff --git a/src/compiler/parser.y b/src/compiler/parser.y
index acc6af7..9ba3d89 100644
--- a/src/compiler/parser.y
+++ b/src/compiler/parser.y
@@ -56,7 +56,6 @@
[TOK_MIN] = op_min,
[TOK_MAX] = op_max,
[TOK_INT] = op_int,
-
};
struct ast_node *node(int token, const char *id, struct ast_node *a,
@@ -88,7 +87,7 @@
%syntax_error {
if(!state->error_label) {
state->error_label = state->id->label;
- state->error_lineno = state->id->lineno;
+ state->error_lineno = state->id->lineno;
}
yy_parse_failed(yypParser);
}
diff --git a/src/compiler/parser_helper.c b/src/compiler/parser_helper.c
index f75a1ec..0b68b1c 100644
--- a/src/compiler/parser_helper.c
+++ b/src/compiler/parser_helper.c
@@ -55,7 +55,7 @@ int fpvm_parse(const char *expr, int start_token, union
parser_comm *comm)
int tok;
struct id *identifier;
void *p;
-
+
s = new_scanner((unsigned char *)expr);
p = ParseAlloc(malloc);
Parse(p, start_token, NULL, &state);
diff --git a/src/compiler/scanner.re b/src/compiler/scanner.re
index 5d06096..9056334 100644
--- a/src/compiler/scanner.re
+++ b/src/compiler/scanner.re
@@ -33,10 +33,10 @@
struct scanner *new_scanner(unsigned char *input)
{
struct scanner *s;
-
+
s = malloc(sizeof(struct scanner));
if(s == NULL) return NULL;
-
+
s->marker = input;
s->old_cursor = input;
s->cursor = input;
@@ -66,7 +66,7 @@ int scan(struct scanner *s)
std:
if(s->cursor == s->limit) return TOK_EOF;
s->old_cursor = s->cursor;
-
+
/*!re2c
[\x20\r\t] { goto std; }
"\n" { s->lineno++;
--
1.7.1
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode