Commit 6b61e286 authored by Guillaume Quintard's avatar Guillaume Quintard

Follow style guide lines

parent b4be194e
......@@ -31,21 +31,21 @@ this happens, please refer yourself to the related source file and line
number. However, this guide should help you avoid the most common mistakes.
Words and strings
~~~~~~~~~~~~~~~~~
-----------------
The parser splits words by detecting whitespace characters and a string is a
word, or a series of words on the same line enclosed by double-quotes ("..."),
or, for multi-line strings, enclosed in curly brackets ({...}).
Comments
~~~~~~~~
--------
The leading whitespaces of lines are ignored. Empty lines (or ones consisting
only of whitespaces) are ignored too, as are the lines starting with "#" that
are comments.
Lines and commands
~~~~~~~~~~~~~~~~~~
------------------
Test files take at most one command per line, with the first word of the line
being the command and the following ones being its arguments. To continue over
......
......@@ -26,13 +26,11 @@ END {
a = section
c = gsub(/\./, "", a);
if (c == 0)
r = "=";
r = "-";
else if (c == 1)
r = "*"
r = "~"
else if (c == 2)
r = "+"
else if (c == 3)
r = "-"
r = "."
else
r = "."
print(gensub(/./, r, "g", tl[section]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment