about summary refs log tree commit diff stats
path: root/src/css
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-05-10 22:57:39 +0200
committerbptato <nincsnevem662@gmail.com>2022-05-10 22:57:39 +0200
commitf0241b2fec3e41744aa0c900fc4e6d3c46fe4757 (patch)
tree51dc8763cab5973590d16ac4460731fd4b5035a3 /src/css
parent4026a4e92957634ede3f6723e582b30064e750cd (diff)
downloadchawan-f0241b2fec3e41744aa0c900fc4e6d3c46fe4757.tar.gz
Rename conflicting source files
Nim can't really differentiate between them, unfortunately.
Diffstat (limited to 'src/css')
-rw-r--r--src/css/cascade.nim4
-rw-r--r--src/css/cssparser.nim (renamed from src/css/parser.nim)0
-rw-r--r--src/css/mediaquery.nim2
-rw-r--r--src/css/select.nim4
-rw-r--r--src/css/selectorparser.nim (renamed from src/css/selparser.nim)2
-rw-r--r--src/css/sheet.nim4
-rw-r--r--src/css/values.nim6
7 files changed, 11 insertions, 11 deletions
diff --git a/src/css/cascade.nim b/src/css/cascade.nim
index 761280f5..abf8ba73 100644
--- a/src/css/cascade.nim
+++ b/src/css/cascade.nim
@@ -3,9 +3,9 @@ import streams
 import sugar
 
 import css/mediaquery
-import css/parser
+import css/cssparser
 import css/select
-import css/selparser
+import css/selectorparser
 import css/sheet
 import css/values
 import html/dom
diff --git a/src/css/parser.nim b/src/css/cssparser.nim
index 1db94958..1db94958 100644
--- a/src/css/parser.nim
+++ b/src/css/cssparser.nim
diff --git a/src/css/mediaquery.nim b/src/css/mediaquery.nim
index 4e8c1e9f..b589a355 100644
--- a/src/css/mediaquery.nim
+++ b/src/css/mediaquery.nim
@@ -1,7 +1,7 @@
 import tables
 import unicode
 
-import css/parser
+import css/cssparser
 
 type
   MediaQueryParser = object
diff --git a/src/css/select.nim b/src/css/select.nim
index 015dbcc3..10f87113 100644
--- a/src/css/select.nim
+++ b/src/css/select.nim
@@ -5,8 +5,8 @@ import sequtils
 import sugar
 import streams
 
-import css/selparser
-import css/parser
+import css/selectorparser
+import css/cssparser
 import html/dom
 
 func attrSelectorMatches(elem: Element, sel: Selector): bool =
diff --git a/src/css/selparser.nim b/src/css/selectorparser.nim
index dd38adad..d44d7168 100644
--- a/src/css/selparser.nim
+++ b/src/css/selectorparser.nim
@@ -1,6 +1,6 @@
 import unicode
 
-import css/parser
+import css/cssparser
 import html/tags
 
 type
diff --git a/src/css/sheet.nim b/src/css/sheet.nim
index aab602ec..be8ac80c 100644
--- a/src/css/sheet.nim
+++ b/src/css/sheet.nim
@@ -3,8 +3,8 @@ import tables
 import unicode
 
 import css/mediaquery
-import css/parser
-import css/selparser
+import css/cssparser
+import css/selectorparser
 import html/tags
 
 type
diff --git a/src/css/values.nim b/src/css/values.nim
index 88efc84a..0e8923aa 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -6,13 +6,13 @@ import options
 import macros
 import strutils
 
-import css/parser
-import css/selparser
+import css/cssparser
+import css/selectorparser
 import io/term
 import types/color
 import utils/twtstr
 
-export selparser.PseudoElem
+export selectorparser.PseudoElem
 
 type
   CSSUnit* = enum