summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2015-03-06 15:38:41 -0500
committerQuentin Carbonneaux2015-03-06 15:38:41 -0500
commit9f66377a1b8c7437db5f84513ffd493c2a1c3c2c (patch)
tree26127a7065662f8edd591ad8025a3128e65b7794
parente274953554c6e8bb1389d9f9a19f2463513a0484 (diff)
add license
-rw-r--r--LICENSE21
-rw-r--r--miniyacc.c3
2 files changed, 23 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..7866b82
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT/X Consortium License
+
+© 2015 Quentin Carbonneaux
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/miniyacc.c b/miniyacc.c
index 97c2023..3de2ca0 100644
--- a/miniyacc.c
+++ b/miniyacc.c
@@ -1,5 +1,6 @@
/*% clang -g -std=c99 -Wall -Wextra % -o #
- * miniyacc - port of ninja.ml, LALR(1) grammars.
+ * miniyacc - LALR(1) grammars for C
+ * See LICENSE for copyright and license details.
*/
#include <assert.h>
#include <ctype.h>