Skip to content
Snippets Groups Projects
Commit 79c42e39 authored by Patrick Dular's avatar Patrick Dular
Browse files

(1) If and EndIf now allowed in comments and variable names (with alpha-char...

(1) If and EndIf now allowed in comments and variable names (with alpha-char before or after); (2) Else now possible in If EndIf; (3) Warning if orphan EndIf.
parent dc39f145
Branches
Tags
No related merge requests found
...@@ -437,6 +437,7 @@ void skip_until(const char *skip, const char *until) ...@@ -437,6 +437,7 @@ void skip_until(const char *skip, const char *until)
} }
} }
// Patrick: to be unified soon with skip_until (or perhaps made particular when ElseIf will be added)
void skip_until_test(const char *skip, const char *until, const char *until2, int *flag_until2) void skip_until_test(const char *skip, const char *until, const char *until2, int *flag_until2)
{ {
int i, nb_skip = 0; int i, nb_skip = 0;
......
...@@ -3588,6 +3588,7 @@ void skip_until(const char *skip, const char *until) ...@@ -3588,6 +3588,7 @@ void skip_until(const char *skip, const char *until)
} }
} }
// Patrick: to be unified soon with skip_until (or perhaps made particular when ElseIf will be added)
void skip_until_test(const char *skip, const char *until, const char *until2, int *flag_until2) void skip_until_test(const char *skip, const char *until, const char *until2, int *flag_until2)
{ {
int i, nb_skip = 0; int i, nb_skip = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment